| OLD | NEW |
| 1 | 1 |
| 2 // Copyright 2011 the V8 project authors. All rights reserved. | 2 // Copyright 2011 the V8 project authors. All rights reserved. |
| 3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
| 4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 5 | 5 |
| 6 #include "src/v8.h" | 6 #include "src/v8.h" |
| 7 | 7 |
| 8 #include "src/codegen.h" | 8 #include "src/codegen.h" |
| 9 #include "src/deoptimizer.h" | 9 #include "src/deoptimizer.h" |
| 10 #include "src/full-codegen.h" | 10 #include "src/full-codegen.h" |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 // There is no dynamic alignment padding on MIPS in the input frame. | 125 // There is no dynamic alignment padding on MIPS in the input frame. |
| 126 return false; | 126 return false; |
| 127 } | 127 } |
| 128 | 128 |
| 129 | 129 |
| 130 #define __ masm()-> | 130 #define __ masm()-> |
| 131 | 131 |
| 132 | 132 |
| 133 // This code tries to be close to ia32 code so that any changes can be | 133 // This code tries to be close to ia32 code so that any changes can be |
| 134 // easily ported. | 134 // easily ported. |
| 135 void Deoptimizer::EntryGenerator::Generate() { | 135 void Deoptimizer::TableEntryGenerator::Generate() { |
| 136 GeneratePrologue(); | 136 GeneratePrologue(); |
| 137 | 137 |
| 138 // Unlike on ARM we don't save all the registers, just the useful ones. | 138 // Unlike on ARM we don't save all the registers, just the useful ones. |
| 139 // For the rest, there are gaps on the stack, so the offsets remain the same. | 139 // For the rest, there are gaps on the stack, so the offsets remain the same. |
| 140 const int kNumberOfRegisters = Register::kNumRegisters; | 140 const int kNumberOfRegisters = Register::kNumRegisters; |
| 141 | 141 |
| 142 RegList restored_regs = kJSCallerSaved | kCalleeSaved; | 142 RegList restored_regs = kJSCallerSaved | kCalleeSaved; |
| 143 RegList saved_regs = restored_regs | sp.bit() | ra.bit(); | 143 RegList saved_regs = restored_regs | sp.bit() | ra.bit(); |
| 144 | 144 |
| 145 const int kDoubleRegsSize = | 145 const int kDoubleRegsSize = |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { | 401 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { |
| 402 // No out-of-line constant pool support. | 402 // No out-of-line constant pool support. |
| 403 UNREACHABLE(); | 403 UNREACHABLE(); |
| 404 } | 404 } |
| 405 | 405 |
| 406 | 406 |
| 407 #undef __ | 407 #undef __ |
| 408 | 408 |
| 409 | 409 |
| 410 } } // namespace v8::internal | 410 } } // namespace v8::internal |
| OLD | NEW |