diff options
Diffstat (limited to 'deps/v8/src/x64/deoptimizer-x64.cc')
-rw-r--r-- | deps/v8/src/x64/deoptimizer-x64.cc | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/deps/v8/src/x64/deoptimizer-x64.cc b/deps/v8/src/x64/deoptimizer-x64.cc index 611a3c6c21..c57325e1e2 100644 --- a/deps/v8/src/x64/deoptimizer-x64.cc +++ b/deps/v8/src/x64/deoptimizer-x64.cc @@ -86,23 +86,6 @@ void Deoptimizer::PatchCodeForDeoptimization(Isolate* isolate, Code* code) { } -void Deoptimizer::SetPlatformCompiledStubRegisters( - FrameDescription* output_frame, CodeStubDescriptor* descriptor) { - intptr_t handler = - reinterpret_cast<intptr_t>(descriptor->deoptimization_handler()); - int params = descriptor->GetHandlerParameterCount(); - output_frame->SetRegister(rax.code(), params); - output_frame->SetRegister(rbx.code(), handler); -} - - -void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { - for (int i = 0; i < XMMRegister::kMaxNumRegisters; ++i) { - Float64 double_value = input_->GetDoubleRegister(i); - output_frame->SetDoubleRegister(i, double_value); - } -} - #define __ masm()-> void Deoptimizer::TableEntryGenerator::Generate() { @@ -142,7 +125,8 @@ void Deoptimizer::TableEntryGenerator::Generate() { const int kSavedRegistersAreaSize = kNumberOfRegisters * kRegisterSize + kDoubleRegsSize + kFloatRegsSize; - __ Store(ExternalReference(Isolate::kCEntryFPAddress, isolate()), rbp); + __ Store(ExternalReference(IsolateAddressId::kCEntryFPAddress, isolate()), + rbp); // We use this to keep the value of the fifth argument temporarily. // Unfortunately we can't store it directly in r8 (used for passing |