| OLD | NEW | 
|     1 // Copyright 2013 the V8 project authors. All rights reserved. |     1 // Copyright 2013 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 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1331  |  1331  | 
|  1332   Handle<String> subject(frame_entry<String*>(re_frame, kInput)); |  1332   Handle<String> subject(frame_entry<String*>(re_frame, kInput)); | 
|  1333  |  1333  | 
|  1334   // Current string. |  1334   // Current string. | 
|  1335   bool is_ascii = subject->IsOneByteRepresentationUnderneath(); |  1335   bool is_ascii = subject->IsOneByteRepresentationUnderneath(); | 
|  1336  |  1336  | 
|  1337   ASSERT(re_code->instruction_start() <= *return_address); |  1337   ASSERT(re_code->instruction_start() <= *return_address); | 
|  1338   ASSERT(*return_address <= |  1338   ASSERT(*return_address <= | 
|  1339       re_code->instruction_start() + re_code->instruction_size()); |  1339       re_code->instruction_start() + re_code->instruction_size()); | 
|  1340  |  1340  | 
|  1341   MaybeObject* result = Execution::HandleStackGuardInterrupt(isolate); |  1341   Object* result = Execution::HandleStackGuardInterrupt(isolate); | 
|  1342  |  1342  | 
|  1343   if (*code_handle != re_code) {  // Return address no longer valid |  1343   if (*code_handle != re_code) {  // Return address no longer valid | 
|  1344     int delta = code_handle->address() - re_code->address(); |  1344     int delta = code_handle->address() - re_code->address(); | 
|  1345     // Overwrite the return address on the stack. |  1345     // Overwrite the return address on the stack. | 
|  1346     *return_address += delta; |  1346     *return_address += delta; | 
|  1347   } |  1347   } | 
|  1348  |  1348  | 
|  1349   if (result->IsException()) { |  1349   if (result->IsException()) { | 
|  1350     return EXCEPTION; |  1350     return EXCEPTION; | 
|  1351   } |  1351   } | 
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1719       __ Ldrh(current_character(), MemOperand(input_end(), offset, SXTW)); |  1719       __ Ldrh(current_character(), MemOperand(input_end(), offset, SXTW)); | 
|  1720     } |  1720     } | 
|  1721   } |  1721   } | 
|  1722 } |  1722 } | 
|  1723  |  1723  | 
|  1724 #endif  // V8_INTERPRETED_REGEXP |  1724 #endif  // V8_INTERPRETED_REGEXP | 
|  1725  |  1725  | 
|  1726 }}  // namespace v8::internal |  1726 }}  // namespace v8::internal | 
|  1727  |  1727  | 
|  1728 #endif  // V8_TARGET_ARCH_ARM64 |  1728 #endif  // V8_TARGET_ARCH_ARM64 | 
| OLD | NEW |