Index: src/ia32/frames-ia32.cc |
diff --git a/src/ia32/frames-ia32.cc b/src/ia32/frames-ia32.cc |
index 9baf76336b2ffd4ff7177c820ba6083ff646d855..dd44f0ee5ff12dc7de0df1a33a544e6c19723934 100644 |
--- a/src/ia32/frames-ia32.cc |
+++ b/src/ia32/frames-ia32.cc |
@@ -35,16 +35,8 @@ namespace v8 { |
namespace internal { |
-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); |
} |