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 #if V8_TARGET_ARCH_X64 | 5 #if V8_TARGET_ARCH_X64 |
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/full-codegen.h" | 9 #include "src/full-codegen/full-codegen.h" |
10 #include "src/register-configuration.h" | 10 #include "src/register-configuration.h" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 } | 118 } |
119 | 119 |
120 | 120 |
121 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { | 121 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { |
122 for (int i = 0; i < XMMRegister::kMaxNumRegisters; ++i) { | 122 for (int i = 0; i < XMMRegister::kMaxNumRegisters; ++i) { |
123 double double_value = input_->GetDoubleRegister(i); | 123 double double_value = input_->GetDoubleRegister(i); |
124 output_frame->SetDoubleRegister(i, double_value); | 124 output_frame->SetDoubleRegister(i, double_value); |
125 } | 125 } |
126 } | 126 } |
127 | 127 |
128 | 128 bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) { |
129 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | |
130 // There is no dynamic alignment padding on x64 in the input frame. | 129 // There is no dynamic alignment padding on x64 in the input frame. |
131 return false; | 130 return false; |
132 } | 131 } |
133 | 132 |
134 | 133 |
135 #define __ masm()-> | 134 #define __ masm()-> |
136 | 135 |
137 void Deoptimizer::TableEntryGenerator::Generate() { | 136 void Deoptimizer::TableEntryGenerator::Generate() { |
138 GeneratePrologue(); | 137 GeneratePrologue(); |
139 | 138 |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 } | 353 } |
355 | 354 |
356 | 355 |
357 #undef __ | 356 #undef __ |
358 | 357 |
359 | 358 |
360 } // namespace internal | 359 } // namespace internal |
361 } // namespace v8 | 360 } // namespace v8 |
362 | 361 |
363 #endif // V8_TARGET_ARCH_X64 | 362 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |