| OLD | NEW | 
|---|
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC | 5 #if V8_TARGET_ARCH_PPC | 
| 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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1022     __ bind(&loop); | 1022     __ bind(&loop); | 
| 1023     __ push(r6); | 1023     __ push(r6); | 
| 1024     __ bdnz(&loop); | 1024     __ bdnz(&loop); | 
| 1025     __ bind(&no_args); | 1025     __ bind(&no_args); | 
| 1026   } | 1026   } | 
| 1027 | 1027 | 
| 1028   // TODO(rmcilroy): List of things not currently dealt with here but done in | 1028   // TODO(rmcilroy): List of things not currently dealt with here but done in | 
| 1029   // fullcodegen's prologue: | 1029   // fullcodegen's prologue: | 
| 1030   //  - Support profiler (specifically profiling_counter). | 1030   //  - Support profiler (specifically profiling_counter). | 
| 1031   //  - Call ProfileEntryHookStub when isolate has a function_entry_hook. | 1031   //  - Call ProfileEntryHookStub when isolate has a function_entry_hook. | 
| 1032   //  - Allow simulator stop operations if FLAG_stop_at is set. |  | 
| 1033   //  - Code aging of the BytecodeArray object. | 1032   //  - Code aging of the BytecodeArray object. | 
| 1034 | 1033 | 
| 1035   // Load accumulator, register file, bytecode offset, dispatch table into | 1034   // Load accumulator, register file, bytecode offset, dispatch table into | 
| 1036   // registers. | 1035   // registers. | 
| 1037   __ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); | 1036   __ LoadRoot(kInterpreterAccumulatorRegister, Heap::kUndefinedValueRootIndex); | 
| 1038   __ addi(kInterpreterRegisterFileRegister, fp, | 1037   __ addi(kInterpreterRegisterFileRegister, fp, | 
| 1039           Operand(InterpreterFrameConstants::kRegisterFilePointerFromFp)); | 1038           Operand(InterpreterFrameConstants::kRegisterFilePointerFromFp)); | 
| 1040   __ mov(kInterpreterBytecodeOffsetRegister, | 1039   __ mov(kInterpreterBytecodeOffsetRegister, | 
| 1041          Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); | 1040          Operand(BytecodeArray::kHeaderSize - kHeapObjectTag)); | 
| 1042   __ mov(kInterpreterDispatchTableRegister, | 1041   __ mov(kInterpreterDispatchTableRegister, | 
| (...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2755     __ bkpt(0); | 2754     __ bkpt(0); | 
| 2756   } | 2755   } | 
| 2757 } | 2756 } | 
| 2758 | 2757 | 
| 2759 | 2758 | 
| 2760 #undef __ | 2759 #undef __ | 
| 2761 }  // namespace internal | 2760 }  // namespace internal | 
| 2762 }  // namespace v8 | 2761 }  // namespace v8 | 
| 2763 | 2762 | 
| 2764 #endif  // V8_TARGET_ARCH_PPC | 2763 #endif  // V8_TARGET_ARCH_PPC | 
| OLD | NEW | 
|---|