| 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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 901 // TODO(rmcilroy): Consider doing more than one push per loop iteration. | 901 // TODO(rmcilroy): Consider doing more than one push per loop iteration. |
| 902 __ push(r9); | 902 __ push(r9); |
| 903 // Continue loop if not done. | 903 // Continue loop if not done. |
| 904 __ bind(&loop_check); | 904 __ bind(&loop_check); |
| 905 __ sub(r4, r4, Operand(kPointerSize), SetCC); | 905 __ sub(r4, r4, Operand(kPointerSize), SetCC); |
| 906 __ b(&loop_header, ge); | 906 __ b(&loop_header, ge); |
| 907 } | 907 } |
| 908 | 908 |
| 909 // TODO(rmcilroy): List of things not currently dealt with here but done in | 909 // TODO(rmcilroy): List of things not currently dealt with here but done in |
| 910 // fullcodegen's prologue: | 910 // fullcodegen's prologue: |
| 911 // - Support profiler (specifically profiling_counter). | |
| 912 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. | 911 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. |
| 913 // - Code aging of the BytecodeArray object. | 912 // - Code aging of the BytecodeArray object. |
| 914 | 913 |
| 915 // Load accumulator, register file, bytecode offset, dispatch table into | 914 // Load accumulator, register file, bytecode offset, dispatch table into |
| 916 // registers. | 915 // registers. |
| 917 __ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); | 916 __ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); |
| 918 __ add(kInterpreterRegisterFileRegister, fp, | 917 __ add(kInterpreterRegisterFileRegister, fp, |
| 919 Operand(InterpreterFrameConstants::kRegisterFilePointerFromFp)); | 918 Operand(InterpreterFrameConstants::kRegisterFilePointerFromFp)); |
| 920 __ mov(kInterpreterBytecodeOffsetRegister, | 919 __ mov(kInterpreterBytecodeOffsetRegister, |
| 921 Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); | 920 Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); |
| (...skipping 1637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2559 } | 2558 } |
| 2560 } | 2559 } |
| 2561 | 2560 |
| 2562 | 2561 |
| 2563 #undef __ | 2562 #undef __ |
| 2564 | 2563 |
| 2565 } // namespace internal | 2564 } // namespace internal |
| 2566 } // namespace v8 | 2565 } // namespace v8 |
| 2567 | 2566 |
| 2568 #endif // V8_TARGET_ARCH_ARM | 2567 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |