Index: src/builtins/builtins-regexp.h |
diff --git a/src/builtins/builtins-regexp.h b/src/builtins/builtins-regexp.h |
index 0b169a96684d74c763bb5bc9fcc8bcaa10446c78..f14a41e051fbd4aba01aae6f7f14dd5227a2980a 100644 |
--- a/src/builtins/builtins-regexp.h |
+++ b/src/builtins/builtins-regexp.h |
@@ -19,8 +19,9 @@ class RegExpBuiltinsAssembler : public CodeStubAssembler { |
explicit RegExpBuiltinsAssembler(CodeAssemblerState* state) |
: CodeStubAssembler(state) {} |
- void BranchIfFastRegExp(Node* context, Node* map, Label* if_isunmodified, |
- Label* if_ismodified); |
+ void BranchIfFastRegExp(Node* const context, Node* const map, |
+ Label* const if_isunmodified, |
+ Label* const if_ismodified); |
protected: |
Node* FastLoadLastIndex(Node* regexp); |
@@ -48,6 +49,9 @@ class RegExpBuiltinsAssembler : public CodeStubAssembler { |
MessageTemplate::Template msg_template, |
char const* method_name); |
+ // Analogous to BranchIfFastRegExp, for use in asserts. |
+ Node* IsFastRegExpMap(Node* const context, Node* const map); |
+ |
Node* IsInitialRegExpMap(Node* context, Node* map); |
void BranchIfFastRegExpResult(Node* context, Node* map, |
Label* if_isunmodified, Label* if_ismodified); |