| OLD | NEW | 
|---|
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #if V8_TARGET_ARCH_ARM64 | 5 #if V8_TARGET_ARCH_ARM64 | 
| 6 | 6 | 
| 7 #include "src/arm64/frames-arm64.h" | 7 #include "src/arm64/frames-arm64.h" | 
| 8 #include "src/codegen.h" | 8 #include "src/codegen.h" | 
| 9 #include "src/debug/debug.h" | 9 #include "src/debug/debug.h" | 
| 10 #include "src/deoptimizer.h" | 10 #include "src/deoptimizer.h" | 
| (...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 910     __ LoadRoot(x10, Heap::kUndefinedValueRootIndex); | 910     __ LoadRoot(x10, Heap::kUndefinedValueRootIndex); | 
| 911     // TODO(rmcilroy): Ensure we always have an even number of registers to | 911     // TODO(rmcilroy): Ensure we always have an even number of registers to | 
| 912     // allow stack to be 16 bit aligned (and remove need for jssp). | 912     // allow stack to be 16 bit aligned (and remove need for jssp). | 
| 913     __ Lsr(x11, x11, kPointerSizeLog2); | 913     __ Lsr(x11, x11, kPointerSizeLog2); | 
| 914     __ PushMultipleTimes(x10, x11); | 914     __ PushMultipleTimes(x10, x11); | 
| 915     __ Bind(&loop_header); | 915     __ Bind(&loop_header); | 
| 916   } | 916   } | 
| 917 | 917 | 
| 918   // TODO(rmcilroy): List of things not currently dealt with here but done in | 918   // TODO(rmcilroy): List of things not currently dealt with here but done in | 
| 919   // fullcodegen's prologue: | 919   // fullcodegen's prologue: | 
| 920   //  - Support profiler (specifically profiling_counter). |  | 
| 921   //  - Call ProfileEntryHookStub when isolate has a function_entry_hook. | 920   //  - Call ProfileEntryHookStub when isolate has a function_entry_hook. | 
| 922   //  - Code aging of the BytecodeArray object. | 921   //  - Code aging of the BytecodeArray object. | 
| 923 | 922 | 
| 924   // Load accumulator, register file, bytecode offset, dispatch table into | 923   // Load accumulator, register file, bytecode offset, dispatch table into | 
| 925   // registers. | 924   // registers. | 
| 926   __ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); | 925   __ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); | 
| 927   __ Add(kInterpreterRegisterFileRegister, fp, | 926   __ Add(kInterpreterRegisterFileRegister, fp, | 
| 928          Operand(InterpreterFrameConstants::kRegisterFilePointerFromFp)); | 927          Operand(InterpreterFrameConstants::kRegisterFilePointerFromFp)); | 
| 929   __ Mov(kInterpreterBytecodeOffsetRegister, | 928   __ Mov(kInterpreterBytecodeOffsetRegister, | 
| 930          Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); | 929          Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); | 
| (...skipping 1764 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2695   } | 2694   } | 
| 2696 } | 2695 } | 
| 2697 | 2696 | 
| 2698 | 2697 | 
| 2699 #undef __ | 2698 #undef __ | 
| 2700 | 2699 | 
| 2701 }  // namespace internal | 2700 }  // namespace internal | 
| 2702 }  // namespace v8 | 2701 }  // namespace v8 | 
| 2703 | 2702 | 
| 2704 #endif  // V8_TARGET_ARCH_ARM | 2703 #endif  // V8_TARGET_ARCH_ARM | 
| OLD | NEW | 
|---|