| 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 #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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 } | 124 } |
| 125 | 125 |
| 126 | 126 |
| 127 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { | 127 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { |
| 128 for (int i = 0; i < DoubleRegister::kNumRegisters; ++i) { | 128 for (int i = 0; i < DoubleRegister::kNumRegisters; ++i) { |
| 129 double double_value = input_->GetDoubleRegister(i); | 129 double double_value = input_->GetDoubleRegister(i); |
| 130 output_frame->SetDoubleRegister(i, double_value); | 130 output_frame->SetDoubleRegister(i, double_value); |
| 131 } | 131 } |
| 132 } | 132 } |
| 133 | 133 |
| 134 | 134 bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) { |
| 135 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | |
| 136 // There is no dynamic alignment padding on PPC in the input frame. | 135 // There is no dynamic alignment padding on PPC in the input frame. |
| 137 return false; | 136 return false; |
| 138 } | 137 } |
| 139 | 138 |
| 140 | 139 |
| 141 #define __ masm()-> | 140 #define __ masm()-> |
| 142 | 141 |
| 143 // This code tries to be close to ia32 code so that any changes can be | 142 // This code tries to be close to ia32 code so that any changes can be |
| 144 // easily ported. | 143 // easily ported. |
| 145 void Deoptimizer::TableEntryGenerator::Generate() { | 144 void Deoptimizer::TableEntryGenerator::Generate() { |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 | 360 |
| 362 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { | 361 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { |
| 363 DCHECK(FLAG_enable_embedded_constant_pool); | 362 DCHECK(FLAG_enable_embedded_constant_pool); |
| 364 SetFrameSlot(offset, value); | 363 SetFrameSlot(offset, value); |
| 365 } | 364 } |
| 366 | 365 |
| 367 | 366 |
| 368 #undef __ | 367 #undef __ |
| 369 } // namespace internal | 368 } // namespace internal |
| 370 } // namespace v8 | 369 } // namespace v8 |
| OLD | NEW |