OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/arm64/frames-arm64.h" | 5 #include "src/arm64/frames-arm64.h" |
6 #include "src/codegen.h" | 6 #include "src/codegen.h" |
7 #include "src/deoptimizer.h" | 7 #include "src/deoptimizer.h" |
8 #include "src/full-codegen/full-codegen.h" | 8 #include "src/full-codegen/full-codegen.h" |
9 #include "src/register-configuration.h" | 9 #include "src/register-configuration.h" |
10 #include "src/safepoint-table.h" | 10 #include "src/safepoint-table.h" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); | 71 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); |
72 intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); | 72 intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); |
73 int params = descriptor->GetHandlerParameterCount(); | 73 int params = descriptor->GetHandlerParameterCount(); |
74 output_frame->SetRegister(x0.code(), params); | 74 output_frame->SetRegister(x0.code(), params); |
75 output_frame->SetRegister(x1.code(), handler); | 75 output_frame->SetRegister(x1.code(), handler); |
76 } | 76 } |
77 | 77 |
78 | 78 |
79 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { | 79 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { |
80 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { | 80 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { |
81 double double_value = input_->GetDoubleRegister(i); | 81 Float64 double_value = input_->GetDoubleRegister(i); |
82 output_frame->SetDoubleRegister(i, double_value); | 82 output_frame->SetDoubleRegister(i, double_value); |
83 } | 83 } |
84 } | 84 } |
85 | 85 |
86 | 86 |
87 | 87 |
88 #define __ masm()-> | 88 #define __ masm()-> |
89 | 89 |
90 void Deoptimizer::TableEntryGenerator::Generate() { | 90 void Deoptimizer::TableEntryGenerator::Generate() { |
91 GeneratePrologue(); | 91 GeneratePrologue(); |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { | 339 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { |
340 // No embedded constant pool support. | 340 // No embedded constant pool support. |
341 UNREACHABLE(); | 341 UNREACHABLE(); |
342 } | 342 } |
343 | 343 |
344 | 344 |
345 #undef __ | 345 #undef __ |
346 | 346 |
347 } // namespace internal | 347 } // namespace internal |
348 } // namespace v8 | 348 } // namespace v8 |
OLD | NEW |