Index: src/mips/frames-mips.cc |
diff --git a/src/mips/frames-mips.cc b/src/mips/frames-mips.cc |
index e2e0c9197911b4ece01970e437fe3bf970af7bed..f54202da0f6840de04d44fdbae6de853c891b235 100644 |
--- a/src/mips/frames-mips.cc |
+++ b/src/mips/frames-mips.cc |
@@ -38,8 +38,12 @@ namespace internal { |
Address ExitFrame::ComputeStackPointer(Address fp) { |
- UNIMPLEMENTED_MIPS(); |
- return fp; |
+ Address marker = Memory::Address_at(fp + ExitFrameConstants::kMarkerOffset); |
+ Address sp = fp + ExitFrameConstants::kSPOffset; |
+ if (marker == NULL) { |
+ sp -= FPURegister::kNumRegisters * kDoubleSize + 2 * kPointerSize; |
+ } |
+ return sp; |
} |