Index: src/x64/frames-x64.h |
diff --git a/src/x64/frames-x64.h b/src/x64/frames-x64.h |
index c9092afa39ca25ff79be232d37acbfe0d77582fb..53c345906322e29fafad6048df2b7b53cdd69ec6 100644 |
--- a/src/x64/frames-x64.h |
+++ b/src/x64/frames-x64.h |
@@ -100,14 +100,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; |
}; |