| 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 1436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1447 __ Mov(x1, Operand(masm_->CodeObject())); | 1447 __ Mov(x1, Operand(masm_->CodeObject())); |
| 1448 | 1448 |
| 1449 // We need to pass a pointer to the return address as first argument. | 1449 // We need to pass a pointer to the return address as first argument. |
| 1450 // The DirectCEntry stub will place the return address on the stack before | 1450 // The DirectCEntry stub will place the return address on the stack before |
| 1451 // calling so the stack pointer will point to it. | 1451 // calling so the stack pointer will point to it. |
| 1452 __ Mov(x0, csp); | 1452 __ Mov(x0, csp); |
| 1453 | 1453 |
| 1454 ExternalReference check_stack_guard_state = | 1454 ExternalReference check_stack_guard_state = |
| 1455 ExternalReference::re_check_stack_guard_state(isolate()); | 1455 ExternalReference::re_check_stack_guard_state(isolate()); |
| 1456 __ Mov(scratch, check_stack_guard_state); | 1456 __ Mov(scratch, check_stack_guard_state); |
| 1457 DirectCEntryStub stub; | 1457 DirectCEntryStub stub(isolate()); |
| 1458 stub.GenerateCall(masm_, scratch); | 1458 stub.GenerateCall(masm_, scratch); |
| 1459 | 1459 |
| 1460 // The input string may have been moved in memory, we need to reload it. | 1460 // The input string may have been moved in memory, we need to reload it. |
| 1461 __ Peek(input_start(), kPointerSize); | 1461 __ Peek(input_start(), kPointerSize); |
| 1462 __ Peek(input_end(), 2 * kPointerSize); | 1462 __ Peek(input_end(), 2 * kPointerSize); |
| 1463 | 1463 |
| 1464 ASSERT(csp.Is(__ StackPointer())); | 1464 ASSERT(csp.Is(__ StackPointer())); |
| 1465 __ Drop(xreg_to_claim); | 1465 __ Drop(xreg_to_claim); |
| 1466 | 1466 |
| 1467 // Reload the Code pointer. | 1467 // Reload the Code pointer. |
| (...skipping 251 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 |