#include "src/builtins/builtins-utils-gen.h"
#include "src/builtins/builtins.h"
#include "src/codegen/code-stub-assembler-inl.h"
#include "src/execution/isolate.h"
#include "src/objects/js-generator.h"
#include "src/objects/objects-inl.h"
namespace v8 {
namespace internal {
#include "src/codegen/define-code-stub-assembler-macros.inc"
class GeneratorBuiltinsAssembler : public CodeStubAssembler { … };
void GeneratorBuiltinsAssembler::InnerResume(
CodeStubArguments* args, TNode<JSGeneratorObject> receiver,
TNode<Object> value, TNode<Context> context,
JSGeneratorObject::ResumeMode resume_mode, char const* const method_name) { … }
void GeneratorBuiltinsAssembler::GeneratorPrototypeResume(
CodeStubArguments* args, TNode<Object> receiver, TNode<Object> value,
TNode<Context> context, JSGeneratorObject::ResumeMode resume_mode,
char const* const method_name) { … }
TF_BUILTIN(AsyncModuleEvaluate, GeneratorBuiltinsAssembler) { … }
TF_BUILTIN(GeneratorPrototypeNext, GeneratorBuiltinsAssembler) { … }
TF_BUILTIN(GeneratorPrototypeReturn, GeneratorBuiltinsAssembler) { … }
TF_BUILTIN(GeneratorPrototypeThrow, GeneratorBuiltinsAssembler) { … }
TF_BUILTIN(SuspendGeneratorBaseline, GeneratorBuiltinsAssembler) { … }
TF_BUILTIN(ResumeGeneratorBaseline, GeneratorBuiltinsAssembler) { … }
#include "src/codegen/undef-code-stub-assembler-macros.inc"
}
}