v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
builtins-promise-gen.h
Go to the documentation of this file.
1// Copyright 2016 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_PROMISE_GEN_H_
6#define V8_BUILTINS_BUILTINS_PROMISE_GEN_H_
7
10
11namespace v8 {
12namespace internal {
13
15
17 public:
20 void ZeroOutEmbedderOffsets(TNode<JSPromise> promise);
21
22 TNode<HeapObject> AllocateJSPromise(TNode<Context> context);
23};
24
25} // namespace internal
26} // namespace v8
27
28#endif // V8_BUILTINS_BUILTINS_PROMISE_GEN_H_
PromiseBuiltinsAssembler(compiler::CodeAssemblerState *state)
#define V8_EXPORT_PRIVATE
Definition macros.h:460