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/v8.h" | 5 #include "src/v8.h" |
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.h" | 9 #include "src/full-codegen.h" |
10 #include "src/safepoint-table.h" | 10 #include "src/safepoint-table.h" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 } | 82 } |
83 | 83 |
84 | 84 |
85 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | 85 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { |
86 // There is no dynamic alignment padding on ARM64 in the input frame. | 86 // There is no dynamic alignment padding on ARM64 in the input frame. |
87 return false; | 87 return false; |
88 } | 88 } |
89 | 89 |
90 | 90 |
91 void Deoptimizer::SetPlatformCompiledStubRegisters( | 91 void Deoptimizer::SetPlatformCompiledStubRegisters( |
92 FrameDescription* output_frame, CodeStubInterfaceDescriptor* descriptor) { | 92 FrameDescription* output_frame, CodeStubDescriptor* descriptor) { |
93 ApiFunction function(descriptor->deoptimization_handler()); | 93 ApiFunction function(descriptor->deoptimization_handler()); |
94 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); | 94 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); |
95 intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); | 95 intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); |
96 int params = descriptor->GetHandlerParameterCount(); | 96 int params = descriptor->GetHandlerParameterCount(); |
97 output_frame->SetRegister(x0.code(), params); | 97 output_frame->SetRegister(x0.code(), params); |
98 output_frame->SetRegister(x1.code(), handler); | 98 output_frame->SetRegister(x1.code(), handler); |
99 } | 99 } |
100 | 100 |
101 | 101 |
102 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { | 102 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 | 347 |
348 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { | 348 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { |
349 // No out-of-line constant pool support. | 349 // No out-of-line constant pool support. |
350 UNREACHABLE(); | 350 UNREACHABLE(); |
351 } | 351 } |
352 | 352 |
353 | 353 |
354 #undef __ | 354 #undef __ |
355 | 355 |
356 } } // namespace v8::internal | 356 } } // namespace v8::internal |
OLD | NEW |