Index: src/mips/frames-mips.h |
diff --git a/src/mips/frames-mips.h b/src/mips/frames-mips.h |
index 188e7d15cf3d90ecef1165216501306a90870838..1568ce66ec7aebfb0955efa4cc861141faf48735 100644 |
--- a/src/mips/frames-mips.h |
+++ b/src/mips/frames-mips.h |
@@ -208,14 +208,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; |
}; |