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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 // allow stack to be 16 bit aligned (and remove need for jssp). | 1042 // allow stack to be 16 bit aligned (and remove need for jssp). |
1043 __ Lsr(x11, x11, kPointerSizeLog2); | 1043 __ Lsr(x11, x11, kPointerSizeLog2); |
1044 __ PushMultipleTimes(x10, x11); | 1044 __ PushMultipleTimes(x10, x11); |
1045 __ Bind(&loop_header); | 1045 __ Bind(&loop_header); |
1046 } | 1046 } |
1047 | 1047 |
1048 // TODO(rmcilroy): List of things not currently dealt with here but done in | 1048 // TODO(rmcilroy): List of things not currently dealt with here but done in |
1049 // fullcodegen's prologue: | 1049 // fullcodegen's prologue: |
1050 // - Support profiler (specifically profiling_counter). | 1050 // - Support profiler (specifically profiling_counter). |
1051 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. | 1051 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. |
1052 // - Allow simulator stop operations if FLAG_stop_at is set. | |
1053 // - Code aging of the BytecodeArray object. | 1052 // - Code aging of the BytecodeArray object. |
1054 | 1053 |
1055 // Load accumulator, register file, bytecode offset, dispatch table into | 1054 // Load accumulator, register file, bytecode offset, dispatch table into |
1056 // registers. | 1055 // registers. |
1057 __ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); | 1056 __ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); |
1058 __ Add(kInterpreterRegisterFileRegister, fp, | 1057 __ Add(kInterpreterRegisterFileRegister, fp, |
1059 Operand(InterpreterFrameConstants::kRegisterFilePointerFromFp)); | 1058 Operand(InterpreterFrameConstants::kRegisterFilePointerFromFp)); |
1060 __ Mov(kInterpreterBytecodeOffsetRegister, | 1059 __ Mov(kInterpreterBytecodeOffsetRegister, |
1061 Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); | 1060 Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); |
1062 __ Mov(kInterpreterDispatchTableRegister, | 1061 __ Mov(kInterpreterDispatchTableRegister, |
(...skipping 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2823 } | 2822 } |
2824 } | 2823 } |
2825 | 2824 |
2826 | 2825 |
2827 #undef __ | 2826 #undef __ |
2828 | 2827 |
2829 } // namespace internal | 2828 } // namespace internal |
2830 } // namespace v8 | 2829 } // namespace v8 |
2831 | 2830 |
2832 #endif // V8_TARGET_ARCH_ARM | 2831 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |