Index: src/arm/frames-arm.cc |
diff --git a/src/arm/frames-arm.cc b/src/arm/frames-arm.cc |
index 47434392dfe9b1f82b3a7852e0b0ae8d47413a37..b0c09903060cb49fa480b586982e761623158e74 100644 |
--- a/src/arm/frames-arm.cc |
+++ b/src/arm/frames-arm.cc |
@@ -37,17 +37,8 @@ namespace v8 { |
namespace internal { |
-StackFrame::Type ExitFrame::GetStateForFramePointer(Address fp, State* state) { |
- if (fp == 0) return NONE; |
- // Compute frame type and stack pointer. |
- Address sp = fp + ExitFrameConstants::kSPOffset; |
- |
- // Fill in the state. |
- state->sp = sp; |
- state->fp = fp; |
- state->pc_address = reinterpret_cast<Address*>(sp - 1 * kPointerSize); |
- ASSERT(*state->pc_address != NULL); |
- return EXIT; |
+Address ExitFrame::ComputeStackPointer(Address fp) { |
+ return fp + ExitFrameConstants::kSPOffset; |
} |