Index: src/ia32/frames-ia32.h |
diff --git a/src/ia32/frames-ia32.h b/src/ia32/frames-ia32.h |
index 5bd102a6a23d3dc965c647ede8eca4faa6ed1771..c59b1664a1658bcdc63d8f1bba77b417d77231da 100644 |
--- a/src/ia32/frames-ia32.h |
+++ b/src/ia32/frames-ia32.h |
@@ -114,14 +114,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 = -5 * kPointerSize; |
+ static const int kConstructorOffset = kMinInt; |
+ static const int kLengthOffset = -4 * kPointerSize; |
+ static const int kCodeOffset = StandardFrameConstants::kExpressionsOffset; |
+ |
+ static const int kFrameSize = |
+ StandardFrameConstants::kFixedFrameSize + 3 * kPointerSize; |
+}; |
+ |
+ |
class InternalFrameConstants : public AllStatic { |
public: |
+ // FP-relative. |
static const int kCodeOffset = StandardFrameConstants::kExpressionsOffset; |
}; |