Line data Source code
1 : #ifndef V8_TORQUE_OBJECT_FROM_DSL_BASE_H__
2 : #define V8_TORQUE_OBJECT_FROM_DSL_BASE_H__
3 :
4 : #include "src/compiler/code-assembler.h"
5 : #include "src/code-stub-assembler.h"
6 :
7 : namespace v8 {
8 : namespace internal {
9 :
10 168 : class ObjectBuiltinsFromDSLAssembler {
11 : public:
12 168 : explicit ObjectBuiltinsFromDSLAssembler(compiler::CodeAssemblerState* state) : state_(state), ca_(state) { USE(state_, ca_); }
13 : compiler::TNode<JSObject> AllocateEmptyJSObject(compiler::TNode<Context> p_context);
14 : compiler::TNode<JSObject> ObjectFromEntriesFastCase(compiler::TNode<Context> p_context, compiler::TNode<Object> p_iterable, compiler::CodeAssemblerLabel* label_IfSlow);
15 : private:
16 : compiler::CodeAssemblerState* const state_;
17 : compiler::CodeAssembler ca_;};
18 :
19 : } // namespace internal
20 : } // namespace v8
21 :
22 : #endif // V8_TORQUE_OBJECT_FROM_DSL_BASE_H__
|