| Index: src/ia32/frames-ia32.cc
|
| ===================================================================
|
| --- src/ia32/frames-ia32.cc (revision 5469)
|
| +++ src/ia32/frames-ia32.cc (working copy)
|
| @@ -50,16 +50,8 @@
|
| }
|
|
|
|
|
| -StackFrame::Type ExitFrame::GetStateForFramePointer(Address fp, State* state) {
|
| - if (fp == 0) return NONE;
|
| - // Compute the stack pointer.
|
| - Address sp = Memory::Address_at(fp + ExitFrameConstants::kSPOffset);
|
| - // Fill in the state.
|
| - state->fp = fp;
|
| - state->sp = sp;
|
| - state->pc_address = reinterpret_cast<Address*>(sp - 1 * kPointerSize);
|
| - ASSERT(*state->pc_address != NULL);
|
| - return EXIT;
|
| +Address ExitFrame::ComputeStackPointer(Address fp) {
|
| + return Memory::Address_at(fp + ExitFrameConstants::kSPOffset);
|
| }
|
|
|
|
|
|
|