v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
builtins-constructor-gen.h
Go to the documentation of this file.
1// Copyright 2017 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_BUILTINS_BUILTINS_CONSTRUCTOR_GEN_H_
6#define V8_BUILTINS_BUILTINS_CONSTRUCTOR_GEN_H_
7
9
10namespace v8 {
11namespace internal {
12
14 public:
17
19 TNode<Uint32T> slots,
20 TNode<Context> context,
21 ScopeType scope_type);
22
26 TNode<Context> context);
27
29 TNode<FeedbackVector> feedback_vector, TNode<TaggedIndex> slot,
30 TNode<Context> context, AllocationSiteMode allocation_site_mode,
31 Label* call_runtime);
32
35 TNode<Context> context);
36
38 TNode<FeedbackVector> feedback_vector, TNode<TaggedIndex> slot,
39 Label* call_runtime);
41 TNode<AllocationSite> allocation_site, TNode<JSObject> boilerplate,
42 Label* call_runtime, bool bailout_if_dictionary = false);
43
45
47 TNode<JSFunction> target,
49
51 TNode<JSFunction> target,
53 Label* call_runtime);
54
56 TNode<IntPtrT> start_offset,
57 TNode<IntPtrT> instance_size);
58};
59
60} // namespace internal
61} // namespace v8
62
63#endif // V8_BUILTINS_BUILTINS_CONSTRUCTOR_GEN_H_
TNode< JSObject > CreateEmptyObjectLiteral(TNode< Context > context)
TNode< JSObject > FastNewObject(TNode< Context > context, TNode< JSFunction > target, TNode< JSReceiver > new_target)
TNode< HeapObject > CreateShallowObjectLiteral(TNode< FeedbackVector > feedback_vector, TNode< TaggedIndex > slot, Label *call_runtime)
TNode< Context > FastNewFunctionContext(TNode< ScopeInfo > scope_info, TNode< Uint32T > slots, TNode< Context > context, ScopeType scope_type)
void CopyMutableHeapNumbersInObject(TNode< HeapObject > copy, TNode< IntPtrT > start_offset, TNode< IntPtrT > instance_size)
ConstructorBuiltinsAssembler(compiler::CodeAssemblerState *state)
TNode< JSArray > CreateShallowArrayLiteral(TNode< FeedbackVector > feedback_vector, TNode< TaggedIndex > slot, TNode< Context > context, AllocationSiteMode allocation_site_mode, Label *call_runtime)
TNode< JSRegExp > CreateRegExpLiteral(TNode< HeapObject > maybe_feedback_vector, TNode< TaggedIndex > slot, TNode< Object > pattern, TNode< Smi > flags, TNode< Context > context)
TNode< JSArray > CreateEmptyArrayLiteral(TNode< FeedbackVector > feedback_vector, TNode< TaggedIndex > slot, TNode< Context > context)
DirectHandle< Object > new_target
Definition execution.cc:75
std::string pattern