Line data Source code
1 : #ifndef V8_TORQUE_STRING_FROM_DSL_BASE_H__
2 : #define V8_TORQUE_STRING_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 224 : class StringBuiltinsFromDSLAssembler {
13 : public:
14 224 : explicit StringBuiltinsFromDSLAssembler(compiler::CodeAssemblerState* state) : state_(state), ca_(state) { USE(state_, ca_); }
15 : compiler::TNode<Oddball> TryFastStringCompareSequence(compiler::TNode<String> p_string, compiler::TNode<String> p_searchStr, compiler::TNode<Number> p_start, compiler::TNode<Smi> p_searchLength, compiler::CodeAssemblerLabel* label_Slow);
16 : compiler::TNode<Object> RequireObjectCoercible(compiler::TNode<Context> p_context, compiler::TNode<Object> p_argument);
17 : private:
18 : compiler::CodeAssemblerState* const state_;
19 : compiler::CodeAssembler ca_;
20 : };
21 :
22 : } // namespace internal
23 : } // namespace v8
24 :
25 : #endif // V8_TORQUE_STRING_FROM_DSL_BASE_H__
|