Index: src/mips64/deoptimizer-mips64.cc |
diff --git a/src/mips64/deoptimizer-mips64.cc b/src/mips64/deoptimizer-mips64.cc |
index 7171828cf4e247b02906022faf189c3709f28a88..ec610f02819aa7472e98a191b3a36de6513b4bb7 100644 |
--- a/src/mips64/deoptimizer-mips64.cc |
+++ b/src/mips64/deoptimizer-mips64.cc |
@@ -80,27 +80,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 fp and sp are set to the correct values though. |
- |
- for (int i = 0; i < Register::kNumRegisters; i++) { |
- input_->SetRegister(i, i * 4); |
- } |
- input_->SetRegister(sp.code(), reinterpret_cast<intptr_t>(frame->sp())); |
- input_->SetRegister(fp.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::uint64_at(tos + i)); |
- } |
-} |
- |
- |
void Deoptimizer::SetPlatformCompiledStubRegisters( |
FrameDescription* output_frame, CodeStubDescriptor* descriptor) { |
ApiFunction function(descriptor->deoptimization_handler()); |