| Index: src/mips/frames-mips.cc
|
| ===================================================================
|
| --- src/mips/frames-mips.cc (revision 5469)
|
| +++ src/mips/frames-mips.cc (working copy)
|
| @@ -52,9 +52,7 @@
|
| }
|
|
|
|
|
| -StackFrame::Type ExitFrame::GetStateForFramePointer(Address fp, State* state) {
|
| - if (fp == 0) return NONE;
|
| - // Compute frame type and stack pointer.
|
| +Address ExitFrame::ComputeStackPointer(Address fp) {
|
| Address sp = fp + ExitFrameConstants::kSPDisplacement;
|
| const int offset = ExitFrameConstants::kCodeOffset;
|
| Object* code = Memory::Object_at(fp + offset);
|
| @@ -62,11 +60,7 @@
|
| if (is_debug_exit) {
|
| sp -= kNumJSCallerSaved * kPointerSize;
|
| }
|
| - // Fill in the state.
|
| - state->sp = sp;
|
| - state->fp = fp;
|
| - state->pc_address = reinterpret_cast<Address*>(sp - 1 * kPointerSize);
|
| - return EXIT;
|
| + return sp;
|
| }
|
|
|
|
|
|
|