#include "src/builtins/builtins-async-gen.h"
#include "src/builtins/builtins-utils-gen.h"
#include "src/heap/factory-inl.h"
#include "src/objects/js-generator.h"
#include "src/objects/js-promise.h"
#include "src/objects/shared-function-info.h"
namespace v8 {
namespace internal {
#include "src/codegen/define-code-stub-assembler-macros.inc"
namespace {
class ValueUnwrapContext { … };
}
TNode<Object> AsyncBuiltinsAssembler::Await(TNode<Context> context,
TNode<JSGeneratorObject> generator,
TNode<Object> value,
TNode<JSPromise> outer_promise,
RootIndex on_resolve_sfi,
RootIndex on_reject_sfi) { … }
TNode<Object> AsyncBuiltinsAssembler::Await(
TNode<Context> context, TNode<JSGeneratorObject> generator,
TNode<Object> value, TNode<JSPromise> outer_promise,
const CreateClosures& CreateClosures) { … }
TNode<JSFunction> AsyncBuiltinsAssembler::CreateUnwrapClosure(
TNode<NativeContext> native_context, TNode<Boolean> done) { … }
TNode<Context> AsyncBuiltinsAssembler::AllocateAsyncIteratorValueUnwrapContext(
TNode<NativeContext> native_context, TNode<Boolean> done) { … }
TF_BUILTIN(AsyncIteratorValueUnwrap, AsyncBuiltinsAssembler) { … }
#include "src/codegen/undef-code-stub-assembler-macros.inc"
}
}