| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_ARM | 5 #if V8_TARGET_ARCH_ARM |
| 6 | 6 |
| 7 #include "src/codegen.h" | 7 #include "src/codegen.h" |
| 8 #include "src/debug/debug.h" | 8 #include "src/debug/debug.h" |
| 9 #include "src/deoptimizer.h" | 9 #include "src/deoptimizer.h" |
| 10 #include "src/full-codegen/full-codegen.h" | 10 #include "src/full-codegen/full-codegen.h" |
| (...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1032 // Continue loop if not done. | 1032 // Continue loop if not done. |
| 1033 __ bind(&loop_check); | 1033 __ bind(&loop_check); |
| 1034 __ sub(r4, r4, Operand(kPointerSize), SetCC); | 1034 __ sub(r4, r4, Operand(kPointerSize), SetCC); |
| 1035 __ b(&loop_header, ge); | 1035 __ b(&loop_header, ge); |
| 1036 } | 1036 } |
| 1037 | 1037 |
| 1038 // TODO(rmcilroy): List of things not currently dealt with here but done in | 1038 // TODO(rmcilroy): List of things not currently dealt with here but done in |
| 1039 // fullcodegen's prologue: | 1039 // fullcodegen's prologue: |
| 1040 // - Support profiler (specifically profiling_counter). | 1040 // - Support profiler (specifically profiling_counter). |
| 1041 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. | 1041 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. |
| 1042 // - Allow simulator stop operations if FLAG_stop_at is set. | |
| 1043 // - Code aging of the BytecodeArray object. | 1042 // - Code aging of the BytecodeArray object. |
| 1044 | 1043 |
| 1045 // Load accumulator, register file, bytecode offset, dispatch table into | 1044 // Load accumulator, register file, bytecode offset, dispatch table into |
| 1046 // registers. | 1045 // registers. |
| 1047 __ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); | 1046 __ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); |
| 1048 __ add(kInterpreterRegisterFileRegister, fp, | 1047 __ add(kInterpreterRegisterFileRegister, fp, |
| 1049 Operand(InterpreterFrameConstants::kRegisterFilePointerFromFp)); | 1048 Operand(InterpreterFrameConstants::kRegisterFilePointerFromFp)); |
| 1050 __ mov(kInterpreterBytecodeOffsetRegister, | 1049 __ mov(kInterpreterBytecodeOffsetRegister, |
| 1051 Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); | 1050 Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); |
| 1052 __ mov(kInterpreterDispatchTableRegister, | 1051 __ mov(kInterpreterDispatchTableRegister, |
| (...skipping 1633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2686 } | 2685 } |
| 2687 } | 2686 } |
| 2688 | 2687 |
| 2689 | 2688 |
| 2690 #undef __ | 2689 #undef __ |
| 2691 | 2690 |
| 2692 } // namespace internal | 2691 } // namespace internal |
| 2693 } // namespace v8 | 2692 } // namespace v8 |
| 2694 | 2693 |
| 2695 #endif // V8_TARGET_ARCH_ARM | 2694 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |