Index: src/arm/frames-arm.h |
diff --git a/src/arm/frames-arm.h b/src/arm/frames-arm.h |
index ee9fc0e44e86f0c7522d92deefc3fc979475cfe3..30f4057faedbd164ccd3a88651d23d558553a190 100644 |
--- a/src/arm/frames-arm.h |
+++ b/src/arm/frames-arm.h |
@@ -149,14 +149,30 @@ class JavaScriptFrameConstants : public AllStatic { |
class ArgumentsAdaptorFrameConstants : public AllStatic { |
public: |
+ // FP-relative. |
static const int kLengthOffset = StandardFrameConstants::kExpressionsOffset; |
+ |
static const int kFrameSize = |
StandardFrameConstants::kFixedFrameSize + kPointerSize; |
}; |
+class ConstructFrameConstants : public AllStatic { |
+ public: |
+ // FP-relative. |
+ static const int kImplicitReceiverOffset = -6 * kPointerSize; |
+ static const int kConstructorOffset = -5 * kPointerSize; |
+ static const int kLengthOffset = -4 * kPointerSize; |
+ static const int kCodeOffset = StandardFrameConstants::kExpressionsOffset; |
+ |
+ static const int kFrameSize = |
+ StandardFrameConstants::kFixedFrameSize + 4 * kPointerSize; |
+}; |
+ |
+ |
class InternalFrameConstants : public AllStatic { |
public: |
+ // FP-relative. |
static const int kCodeOffset = StandardFrameConstants::kExpressionsOffset; |
}; |