| Index: src/ppc/deoptimizer-ppc.cc
|
| diff --git a/src/ppc/deoptimizer-ppc.cc b/src/ppc/deoptimizer-ppc.cc
|
| index 694fe8af028fe44d402ab689d423d56d1a4c1f04..9ec5cdd11a2765ae88f46e5e87e1d7dcfeac69f9 100644
|
| --- a/src/ppc/deoptimizer-ppc.cc
|
| +++ b/src/ppc/deoptimizer-ppc.cc
|
| @@ -88,31 +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 fp and sp are set to the correct values though.
|
| - // We ensure the values are Smis to avoid confusing the garbage
|
| - // collector in the event that any values are retreived and stored
|
| - // elsewhere.
|
| -
|
| - for (int i = 0; i < Register::kNumRegisters; i++) {
|
| - input_->SetRegister(i, reinterpret_cast<intptr_t>(Smi::FromInt(i)));
|
| - }
|
| - 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::kNumRegisters; 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, reinterpret_cast<intptr_t>(Memory::Address_at(tos + i)));
|
| - }
|
| -}
|
| -
|
| -
|
| void Deoptimizer::SetPlatformCompiledStubRegisters(
|
| FrameDescription* output_frame, CodeStubDescriptor* descriptor) {
|
| ApiFunction function(descriptor->deoptimization_handler());
|
|
|