Index: src/s390/frames-s390.h |
diff --git a/src/s390/frames-s390.h b/src/s390/frames-s390.h |
index 54a9f2d1a31fd351e8b07610115e84a77e65938d..cca060adcd74df77e02526e86d07c6463d6c3429 100644 |
--- a/src/s390/frames-s390.h |
+++ b/src/s390/frames-s390.h |
@@ -155,12 +155,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 kConstantPoolOffset = 0; // Not used. |
- 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; |
@@ -177,7 +176,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; |