Index: src/arm64/frames-arm64.h |
diff --git a/src/arm64/frames-arm64.h b/src/arm64/frames-arm64.h |
index 783514437f28297e6593b8090e57de36ce7912ff..f1e45f5fdc4d8fffd5c5b5a8c79d7dbcff83b4e2 100644 |
--- a/src/arm64/frames-arm64.h |
+++ b/src/arm64/frames-arm64.h |
@@ -34,16 +34,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 kCallerSPDisplacement = 2 * kPointerSize; |
- static const int kCallerPCOffset = 1 * kPointerSize; |
- static const int kCallerFPOffset = 0 * kPointerSize; // <- fp |
- static const int kSPOffset = -1 * kPointerSize; |
- static const int kCodeOffset = -2 * 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 kLastExitFrameField = kCodeOffset; |
static const int kConstantPoolOffset = 0; // Not used |
@@ -59,7 +54,7 @@ class JavaScriptFrameConstants : public AllStatic { |
// the arguments. |
static const int kLastParameterOffset = 2 * kPointerSize; |
- static const int kFunctionOffset = StandardFrameConstants::kMarkerOffset; |
+ static const int kFunctionOffset = StandardFrameConstants::kFunctionOffset; |
}; |