| OLD | NEW | 
|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. | 
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 //     * Redistributions of source code must retain the above copyright | 6 //     * Redistributions of source code must retain the above copyright | 
| 7 //       notice, this list of conditions and the following disclaimer. | 7 //       notice, this list of conditions and the following disclaimer. | 
| 8 //     * Redistributions in binary form must reproduce the above | 8 //     * Redistributions in binary form must reproduce the above | 
| 9 //       copyright notice, this list of conditions and the following | 9 //       copyright notice, this list of conditions and the following | 
| 10 //       disclaimer in the documentation and/or other materials provided | 10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1185 | 1185 | 
| 1186   Handle<String> subject(frame_entry<String*>(re_frame, kInputString)); | 1186   Handle<String> subject(frame_entry<String*>(re_frame, kInputString)); | 
| 1187 | 1187 | 
| 1188   // Current string. | 1188   // Current string. | 
| 1189   bool is_ascii = subject->IsAsciiRepresentationUnderneath(); | 1189   bool is_ascii = subject->IsAsciiRepresentationUnderneath(); | 
| 1190 | 1190 | 
| 1191   ASSERT(re_code->instruction_start() <= *return_address); | 1191   ASSERT(re_code->instruction_start() <= *return_address); | 
| 1192   ASSERT(*return_address <= | 1192   ASSERT(*return_address <= | 
| 1193       re_code->instruction_start() + re_code->instruction_size()); | 1193       re_code->instruction_start() + re_code->instruction_size()); | 
| 1194 | 1194 | 
| 1195   MaybeObject* result = Execution::HandleStackGuardInterrupt(); | 1195   MaybeObject* result = Execution::HandleStackGuardInterrupt(isolate); | 
| 1196 | 1196 | 
| 1197   if (*code_handle != re_code) {  // Return address no longer valid | 1197   if (*code_handle != re_code) {  // Return address no longer valid | 
| 1198     intptr_t delta = code_handle->address() - re_code->address(); | 1198     intptr_t delta = code_handle->address() - re_code->address(); | 
| 1199     // Overwrite the return address on the stack. | 1199     // Overwrite the return address on the stack. | 
| 1200     *return_address += delta; | 1200     *return_address += delta; | 
| 1201   } | 1201   } | 
| 1202 | 1202 | 
| 1203   if (result->IsException()) { | 1203   if (result->IsException()) { | 
| 1204     return EXCEPTION; | 1204     return EXCEPTION; | 
| 1205   } | 1205   } | 
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1416   } | 1416   } | 
| 1417 } | 1417 } | 
| 1418 | 1418 | 
| 1419 #undef __ | 1419 #undef __ | 
| 1420 | 1420 | 
| 1421 #endif  // V8_INTERPRETED_REGEXP | 1421 #endif  // V8_INTERPRETED_REGEXP | 
| 1422 | 1422 | 
| 1423 }}  // namespace v8::internal | 1423 }}  // namespace v8::internal | 
| 1424 | 1424 | 
| 1425 #endif  // V8_TARGET_ARCH_X64 | 1425 #endif  // V8_TARGET_ARCH_X64 | 
| OLD | NEW | 
|---|