Line data Source code
1 : #ifndef V8_TORQUE_REGEXP_REPLACE_FROM_DSL_BASE_H__
2 : #define V8_TORQUE_REGEXP_REPLACE_FROM_DSL_BASE_H__
3 :
4 : #include "src/compiler/code-assembler.h"
5 : #include "src/code-stub-assembler.h"
6 : #include "src/utils.h"
7 : #include "torque-generated/class-definitions-from-dsl.h"
8 :
9 : namespace v8 {
10 : namespace internal {
11 :
12 56 : class RegexpReplaceBuiltinsFromDSLAssembler {
13 : public:
14 56 : explicit RegexpReplaceBuiltinsFromDSLAssembler(compiler::CodeAssemblerState* state) : state_(state), ca_(state) { USE(state_, ca_); }
15 : compiler::TNode<String> RegExpReplaceFastString(compiler::TNode<Context> p_context, compiler::TNode<JSRegExp> p_regexp, compiler::TNode<String> p_string, compiler::TNode<String> p_replaceString);
16 : private:
17 : compiler::CodeAssemblerState* const state_;
18 : compiler::CodeAssembler ca_;
19 : };
20 :
21 : } // namespace internal
22 : } // namespace v8
23 :
24 : #endif // V8_TORQUE_REGEXP_REPLACE_FROM_DSL_BASE_H__
|