| 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/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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 } | 112 } |
| 113 | 113 |
| 114 | 114 |
| 115 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { | 115 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { |
| 116 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { | 116 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { |
| 117 double double_value = input_->GetDoubleRegister(i); | 117 double double_value = input_->GetDoubleRegister(i); |
| 118 output_frame->SetDoubleRegister(i, double_value); | 118 output_frame->SetDoubleRegister(i, double_value); |
| 119 } | 119 } |
| 120 } | 120 } |
| 121 | 121 |
| 122 | 122 bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) { |
| 123 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | |
| 124 // There is no dynamic alignment padding on MIPS in the input frame. | 123 // There is no dynamic alignment padding on MIPS in the input frame. |
| 125 return false; | 124 return false; |
| 126 } | 125 } |
| 127 | 126 |
| 128 | 127 |
| 129 #define __ masm()-> | 128 #define __ masm()-> |
| 130 | 129 |
| 131 | 130 |
| 132 // This code tries to be close to ia32 code so that any changes can be | 131 // This code tries to be close to ia32 code so that any changes can be |
| 133 // easily ported. | 132 // easily ported. |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 // No embedded constant pool support. | 402 // No embedded constant pool support. |
| 404 UNREACHABLE(); | 403 UNREACHABLE(); |
| 405 } | 404 } |
| 406 | 405 |
| 407 | 406 |
| 408 #undef __ | 407 #undef __ |
| 409 | 408 |
| 410 | 409 |
| 411 } // namespace internal | 410 } // namespace internal |
| 412 } // namespace v8 | 411 } // namespace v8 |
| OLD | NEW |