Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 4f003efa26a9fa3c43bc5dc753f830b1e81eff7b..21ed7daef057edf6009c0893e4d921c3599add97 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -1228,10 +1228,17 @@ class CodeStubArguments { |
// |argc| is an uint32 value which specifies the number of arguments passed |
// to the builtin excluding the receiver. |
- CodeStubArguments(CodeStubAssembler* assembler, Node* argc); |
+ CodeStubArguments(CodeStubAssembler* assembler, Node* argc) |
+ : CodeStubArguments(assembler, argc, nullptr, |
+ CodeStubAssembler::INTPTR_PARAMETERS) {} |
+ CodeStubArguments(CodeStubAssembler* assembler, Node* argc, Node* fp, |
+ CodeStubAssembler::ParameterMode param_mode); |
Node* GetReceiver() const; |
+ Node* AtIndexPtr(Node* index, CodeStubAssembler::ParameterMode mode = |
+ CodeStubAssembler::INTPTR_PARAMETERS) const; |
+ |
// |index| is zero-based and does not include the receiver |
Node* AtIndex(Node* index, CodeStubAssembler::ParameterMode mode = |
CodeStubAssembler::INTPTR_PARAMETERS) const; |
@@ -1262,6 +1269,7 @@ class CodeStubArguments { |
Node* GetArguments(); |
CodeStubAssembler* assembler_; |
+ CodeStubAssembler::ParameterMode argc_mode_; |
Node* argc_; |
Node* arguments_; |
Node* fp_; |