Index: src/mips64/frames-mips64.h |
diff --git a/src/mips64/frames-mips64.h b/src/mips64/frames-mips64.h |
index 9c42d8d95c27324ce7585f89ad141d5c395ad05e..d6d3e5c0fbb38b02c7bb9f04e1e5c365111e8ccc 100644 |
--- a/src/mips64/frames-mips64.h |
+++ b/src/mips64/frames-mips64.h |
@@ -133,13 +133,11 @@ class EntryFrameConstants : public AllStatic { |
-(StandardFrameConstants::kFixedFrameSizeFromFp + kPointerSize); |
}; |
- |
-class ExitFrameConstants : public AllStatic { |
+class ExitFrameConstants : public TypedFrameConstants { |
public: |
- static const int kFrameSize = 2 * kPointerSize; |
- |
- static const int kCodeOffset = -2 * kPointerSize; |
- static const int kSPOffset = -1 * kPointerSize; |
+ static const int kSPOffset = TYPED_FRAME_PUSHED_VALUE_OFFSET(0); |
+ static const int kCodeOffset = TYPED_FRAME_PUSHED_VALUE_OFFSET(1); |
+ DEFINE_TYPED_FRAME_SIZES(2); |
// The caller fields are below the frame pointer on the stack. |
static const int kCallerFPOffset = +0 * kPointerSize; |
@@ -161,7 +159,7 @@ class JavaScriptFrameConstants : public AllStatic { |
// FP-relative. |
static const int kLocal0Offset = StandardFrameConstants::kExpressionsOffset; |
static const int kLastParameterOffset = +2 * kPointerSize; |
- static const int kFunctionOffset = StandardFrameConstants::kMarkerOffset; |
+ static const int kFunctionOffset = StandardFrameConstants::kFunctionOffset; |
// Caller SP-relative. |
static const int kParam0Offset = -2 * kPointerSize; |