Index: src/ia32/deoptimizer-ia32.cc |
diff --git a/src/ia32/deoptimizer-ia32.cc b/src/ia32/deoptimizer-ia32.cc |
index abe886383473ebcdd283e8ac23e60a7a1d022c98..a3756ae443b81bc697c8442cfa8822279f3e0d2f 100644 |
--- a/src/ia32/deoptimizer-ia32.cc |
+++ b/src/ia32/deoptimizer-ia32.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 < XMMRegister::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 = |