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 #include "src/codegen.h" | 5 #include "src/codegen.h" |
6 #include "src/deoptimizer.h" | 6 #include "src/deoptimizer.h" |
7 #include "src/full-codegen/full-codegen.h" | 7 #include "src/full-codegen/full-codegen.h" |
8 #include "src/register-configuration.h" | 8 #include "src/register-configuration.h" |
9 #include "src/safepoint-table.h" | 9 #include "src/safepoint-table.h" |
10 | 10 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 } | 117 } |
118 | 118 |
119 | 119 |
120 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { | 120 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { |
121 for (int i = 0; i < DwVfpRegister::kMaxNumRegisters; ++i) { | 121 for (int i = 0; i < DwVfpRegister::kMaxNumRegisters; ++i) { |
122 double double_value = input_->GetDoubleRegister(i); | 122 double double_value = input_->GetDoubleRegister(i); |
123 output_frame->SetDoubleRegister(i, double_value); | 123 output_frame->SetDoubleRegister(i, double_value); |
124 } | 124 } |
125 } | 125 } |
126 | 126 |
127 | 127 bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) { |
128 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | |
129 // There is no dynamic alignment padding on ARM in the input frame. | 128 // There is no dynamic alignment padding on ARM in the input frame. |
130 return false; | 129 return false; |
131 } | 130 } |
132 | 131 |
133 | 132 |
134 #define __ masm()-> | 133 #define __ masm()-> |
135 | 134 |
136 // This code tries to be close to ia32 code so that any changes can be | 135 // This code tries to be close to ia32 code so that any changes can be |
137 // easily ported. | 136 // easily ported. |
138 void Deoptimizer::TableEntryGenerator::Generate() { | 137 void Deoptimizer::TableEntryGenerator::Generate() { |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { | 356 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { |
358 DCHECK(FLAG_enable_embedded_constant_pool); | 357 DCHECK(FLAG_enable_embedded_constant_pool); |
359 SetFrameSlot(offset, value); | 358 SetFrameSlot(offset, value); |
360 } | 359 } |
361 | 360 |
362 | 361 |
363 #undef __ | 362 #undef __ |
364 | 363 |
365 } // namespace internal | 364 } // namespace internal |
366 } // namespace v8 | 365 } // namespace v8 |
OLD | NEW |