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