Index: src/x64/deoptimizer-x64.cc |
diff --git a/src/x64/deoptimizer-x64.cc b/src/x64/deoptimizer-x64.cc |
index 37b37dc39bd5dd769897486d44b71c7192ab83d7..ddf59eb4708ec105ca512e2e13980a7c0d7311fa 100644 |
--- a/src/x64/deoptimizer-x64.cc |
+++ b/src/x64/deoptimizer-x64.cc |
@@ -88,26 +88,6 @@ void Deoptimizer::PatchCodeForDeoptimization(Isolate* isolate, Code* code) { |
} |
-void Deoptimizer::FillInputFrame(Address tos, JavaScriptFrame* frame) { |
- // Set the register values. The values are not important as there are no |
- // callee saved registers in JavaScript frames, so all registers are |
- // spilled. Registers rbp and rsp are set to the correct values though. |
- for (int i = 0; i < Register::kNumRegisters; i++) { |
- input_->SetRegister(i, i * 4); |
- } |
- input_->SetRegister(rsp.code(), reinterpret_cast<intptr_t>(frame->sp())); |
- input_->SetRegister(rbp.code(), reinterpret_cast<intptr_t>(frame->fp())); |
- for (int i = 0; i < DoubleRegister::kMaxNumRegisters; i++) { |
- input_->SetDoubleRegister(i, 0.0); |
- } |
- |
- // Fill the frame content from the actual data on the frame. |
- for (unsigned i = 0; i < input_->GetFrameSize(); i += kPointerSize) { |
- input_->SetFrameSlot(i, Memory::uintptr_at(tos + i)); |
- } |
-} |
- |
- |
void Deoptimizer::SetPlatformCompiledStubRegisters( |
FrameDescription* output_frame, CodeStubDescriptor* descriptor) { |
intptr_t handler = |