Index: src/x87/deoptimizer-x87.cc |
diff --git a/src/x87/deoptimizer-x87.cc b/src/x87/deoptimizer-x87.cc |
index b5e7dc818101a5589caf7a7a0b77346c27da0e43..3b90276a933618d553b60234cab766ac5a3e616a 100644 |
--- a/src/x87/deoptimizer-x87.cc |
+++ b/src/x87/deoptimizer-x87.cc |
@@ -169,27 +169,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 ebp and esp are set to the correct values though. |
- |
- for (int i = 0; i < Register::kNumRegisters; i++) { |
- input_->SetRegister(i, i * 4); |
- } |
- input_->SetRegister(esp.code(), reinterpret_cast<intptr_t>(frame->sp())); |
- input_->SetRegister(ebp.code(), reinterpret_cast<intptr_t>(frame->fp())); |
- for (int i = 0; i < X87Register::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::uint32_at(tos + i)); |
- } |
-} |
- |
- |
void Deoptimizer::SetPlatformCompiledStubRegisters( |
FrameDescription* output_frame, CodeStubDescriptor* descriptor) { |
intptr_t handler = |