| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; i++) { | 80 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; i++) { |
| 81 input_->SetDoubleRegister(i, 0.0); | 81 input_->SetDoubleRegister(i, 0.0); |
| 82 } | 82 } |
| 83 | 83 |
| 84 // Fill the frame content from the actual data on the frame. | 84 // Fill the frame content from the actual data on the frame. |
| 85 for (unsigned i = 0; i < input_->GetFrameSize(); i += kPointerSize) { | 85 for (unsigned i = 0; i < input_->GetFrameSize(); i += kPointerSize) { |
| 86 input_->SetFrameSlot(i, Memory::uint64_at(tos + i)); | 86 input_->SetFrameSlot(i, Memory::uint64_at(tos + i)); |
| 87 } | 87 } |
| 88 } | 88 } |
| 89 | 89 |
| 90 | 90 bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) { |
| 91 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | |
| 92 // There is no dynamic alignment padding on ARM64 in the input frame. | 91 // There is no dynamic alignment padding on ARM64 in the input frame. |
| 93 return false; | 92 return false; |
| 94 } | 93 } |
| 95 | 94 |
| 96 | 95 |
| 97 void Deoptimizer::SetPlatformCompiledStubRegisters( | 96 void Deoptimizer::SetPlatformCompiledStubRegisters( |
| 98 FrameDescription* output_frame, CodeStubDescriptor* descriptor) { | 97 FrameDescription* output_frame, CodeStubDescriptor* descriptor) { |
| 99 ApiFunction function(descriptor->deoptimization_handler()); | 98 ApiFunction function(descriptor->deoptimization_handler()); |
| 100 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); | 99 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); |
| 101 intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); | 100 intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { | 358 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { |
| 360 // No embedded constant pool support. | 359 // No embedded constant pool support. |
| 361 UNREACHABLE(); | 360 UNREACHABLE(); |
| 362 } | 361 } |
| 363 | 362 |
| 364 | 363 |
| 365 #undef __ | 364 #undef __ |
| 366 | 365 |
| 367 } // namespace internal | 366 } // namespace internal |
| 368 } // namespace v8 | 367 } // namespace v8 |
| OLD | NEW |