Index: src/ia32/frames-ia32.h |
diff --git a/src/ia32/frames-ia32.h b/src/ia32/frames-ia32.h |
index db7411ede26ac2ce9aba73b9780fd91f556f3ca1..2d7cd02a42ee59754146d5a7f4577feef6d8fd88 100644 |
--- a/src/ia32/frames-ia32.h |
+++ b/src/ia32/frames-ia32.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; |