diff options
Diffstat (limited to 'deps/v8/src/builtins/builtins-regexp-gen.h')
-rw-r--r-- | deps/v8/src/builtins/builtins-regexp-gen.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/deps/v8/src/builtins/builtins-regexp-gen.h b/deps/v8/src/builtins/builtins-regexp-gen.h index c8a94b7293..b57b90acf9 100644 --- a/deps/v8/src/builtins/builtins-regexp-gen.h +++ b/deps/v8/src/builtins/builtins-regexp-gen.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef V8_BUILTINS_BUILTINS_REGEXP_H_ -#define V8_BUILTINS_BUILTINS_REGEXP_H_ +#ifndef V8_BUILTINS_BUILTINS_REGEXP_GEN_H_ +#define V8_BUILTINS_BUILTINS_REGEXP_GEN_H_ #include "src/code-stub-assembler.h" @@ -50,7 +50,7 @@ class RegExpBuiltinsAssembler : public CodeStubAssembler { Node* ConstructNewResultFromMatchInfo(Node* const context, Node* const regexp, Node* const match_info, - Node* const string); + TNode<String> const string); Node* RegExpPrototypeExecBodyWithoutResult(Node* const context, Node* const regexp, @@ -58,7 +58,7 @@ class RegExpBuiltinsAssembler : public CodeStubAssembler { Label* if_didnotmatch, const bool is_fastpath); Node* RegExpPrototypeExecBody(Node* const context, Node* const regexp, - Node* const string, const bool is_fastpath); + TNode<String> string, const bool is_fastpath); Node* ThrowIfNotJSReceiver(Node* context, Node* maybe_receiver, MessageTemplate::Template msg_template, @@ -100,7 +100,8 @@ class RegExpBuiltinsAssembler : public CodeStubAssembler { Node* const is_unicode, bool is_fastpath); void RegExpPrototypeMatchBody(Node* const context, Node* const regexp, - Node* const string, const bool is_fastpath); + TNode<String> const string, + const bool is_fastpath); void RegExpPrototypeSearchBodyFast(Node* const context, Node* const regexp, Node* const string); @@ -108,15 +109,16 @@ class RegExpBuiltinsAssembler : public CodeStubAssembler { Node* const string); void RegExpPrototypeSplitBody(Node* const context, Node* const regexp, - Node* const string, Node* const limit); + TNode<String> const string, Node* const limit); Node* ReplaceGlobalCallableFastPath(Node* context, Node* regexp, Node* string, Node* replace_callable); - Node* ReplaceSimpleStringFastPath(Node* context, Node* regexp, Node* string, - Node* replace_string); + Node* ReplaceSimpleStringFastPath(Node* context, Node* regexp, + TNode<String> string, + TNode<String> replace_string); }; } // namespace internal } // namespace v8 -#endif // V8_BUILTINS_BUILTINS_REGEXP_H_ +#endif // V8_BUILTINS_BUILTINS_REGEXP_GEN_H_ |