Index: src/arm64/deoptimizer-arm64.cc |
diff --git a/src/arm64/deoptimizer-arm64.cc b/src/arm64/deoptimizer-arm64.cc |
index f5e2a0383da0876cd2d1de860b6fcdaf73565445..fe4e46eab6715907316fa6a50732fe007dcf2b37 100644 |
--- a/src/arm64/deoptimizer-arm64.cc |
+++ b/src/arm64/deoptimizer-arm64.cc |
@@ -65,28 +65,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::NumRegisters(); i++) { |
- input_->SetRegister(i, 0); |
- } |
- |
- // TODO(all): Do we also need to set a value to csp? |
- input_->SetRegister(jssp.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)); |
- } |
-} |
- |
bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) { |
// There is no dynamic alignment padding on ARM64 in the input frame. |
return false; |