Index: src/x87/frames-x87.h |
diff --git a/src/x87/frames-x87.h b/src/x87/frames-x87.h |
index 275713705becafef048982f41015cb1d93d770e9..1a378ed3ecc1f1643a8829f8d52ce564fada78ea 100644 |
--- a/src/x87/frames-x87.h |
+++ b/src/x87/frames-x87.h |
@@ -42,13 +42,11 @@ class EntryFrameConstants : public AllStatic { |
static const int kArgvOffset = +6 * 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); |
static const int kCallerFPOffset = 0 * kPointerSize; |
static const int kCallerPCOffset = +1 * kPointerSize; |
@@ -66,7 +64,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; |