Home
last modified time | relevance | path

Searched refs:JSGeneratorObject (Results 1 – 25 of 51) sorted by relevance

123

/third_party/node/deps/v8/src/builtins/
Dbuiltins-generator-gen.cc29 void InnerResume(CodeStubArguments* args, TNode<JSGeneratorObject> receiver,
31 JSGeneratorObject::ResumeMode resume_mode,
35 JSGeneratorObject::ResumeMode resume_mode,
40 CodeStubArguments* args, TNode<JSGeneratorObject> receiver, in InnerResume()
42 JSGeneratorObject::ResumeMode resume_mode, char const* const method_name) { in InnerResume()
45 LoadObjectField<Smi>(receiver, JSGeneratorObject::kContinuationOffset); in InnerResume()
48 TNode<Smi> closed = SmiConstant(JSGeneratorObject::kGeneratorClosed); in InnerResume()
50 DCHECK_LT(JSGeneratorObject::kGeneratorExecuting, in InnerResume()
51 JSGeneratorObject::kGeneratorClosed); in InnerResume()
55 StoreObjectFieldNoWriteBarrier(receiver, JSGeneratorObject::kResumeModeOffset, in InnerResume()
[all …]
Dbuiltins-async-generator-gen.cc25 const TNode<JSGeneratorObject> generator) { in LoadGeneratorState()
27 JSGeneratorObject::kContinuationOffset); in LoadGeneratorState()
31 return SmiEqual(state, SmiConstant(JSGeneratorObject::kGeneratorClosed)); in IsGeneratorStateClosed()
34 const TNode<JSGeneratorObject> generator) { in IsGeneratorClosed()
43 const TNode<JSGeneratorObject> generator) { in IsGeneratorSuspended()
53 SmiConstant(JSGeneratorObject::kGeneratorExecuting)); in IsGeneratorStateNotExecuting()
56 const TNode<JSGeneratorObject> generator) { in IsGeneratorNotExecuting()
61 const TNode<JSGeneratorObject> generator) { in IsGeneratorAwaiting()
67 inline void SetGeneratorAwaiting(const TNode<JSGeneratorObject> generator) { in SetGeneratorAwaiting()
75 const TNode<JSGeneratorObject> generator) { in SetGeneratorNotAwaiting()
[all …]
Dbuiltins-async-function-gen.cc27 JSGeneratorObject::ResumeMode resume_mode);
32 JSGeneratorObject::ResumeMode resume_mode) { in AsyncFunctionAwaitResumeClosure()
33 DCHECK(resume_mode == JSGeneratorObject::kNext || in AsyncFunctionAwaitResumeClosure()
34 resume_mode == JSGeneratorObject::kThrow); in AsyncFunctionAwaitResumeClosure()
61 JSGeneratorObject::kContinuationOffset), in AsyncFunctionAwaitResumeClosure()
62 SmiConstant(JSGeneratorObject::kGeneratorClosed))); in AsyncFunctionAwaitResumeClosure()
66 JSGeneratorObject::kResumeModeOffset, in AsyncFunctionAwaitResumeClosure()
212 JSGeneratorObject::kThrow); in TF_BUILTIN()
221 AsyncFunctionAwaitResumeClosure(context, sentValue, JSGeneratorObject::kNext); in TF_BUILTIN()
Dbuiltins-async-gen.h24 TNode<JSGeneratorObject> generator, TNode<Object> value,
30 TNode<JSGeneratorObject> generator, TNode<Object> value, in Await()
Dbuiltins-object-gen.cc1266 StoreObjectFieldNoWriteBarrier(result, JSGeneratorObject::kFunctionOffset, in TF_BUILTIN()
1268 StoreObjectFieldNoWriteBarrier(result, JSGeneratorObject::kContextOffset, in TF_BUILTIN()
1270 StoreObjectFieldNoWriteBarrier(result, JSGeneratorObject::kReceiverOffset, in TF_BUILTIN()
1273 result, JSGeneratorObject::kParametersAndRegistersOffset, in TF_BUILTIN()
1275 TNode<Smi> resume_mode = SmiConstant(JSGeneratorObject::ResumeMode::kNext); in TF_BUILTIN()
1276 StoreObjectFieldNoWriteBarrier(result, JSGeneratorObject::kResumeModeOffset, in TF_BUILTIN()
1278 TNode<Smi> executing = SmiConstant(JSGeneratorObject::kGeneratorExecuting); in TF_BUILTIN()
1279 StoreObjectFieldNoWriteBarrier(result, JSGeneratorObject::kContinuationOffset, in TF_BUILTIN()
Dbuiltins-async-gen.cc26 TNode<Context> context, TNode<JSGeneratorObject> generator, in Await()
/third_party/node/deps/v8/src/objects/
Djs-generator.h23 class JSGeneratorObject
24 : public TorqueGeneratedJSGeneratorObject<JSGeneratorObject, JSObject> {
37 DECL_PRINTER(JSGeneratorObject)
43 TQ_OBJECT_CONSTRUCTORS(JSGeneratorObject)
48 JSGeneratorObject> {
59 JSGeneratorObject> {
Djs-generator-inl.h21 TQ_OBJECT_CONSTRUCTORS_IMPL(JSGeneratorObject)
26 bool JSGeneratorObject::is_suspended() const { in TQ_OBJECT_CONSTRUCTORS_IMPL()
32 bool JSGeneratorObject::is_closed() const { in is_closed()
36 bool JSGeneratorObject::is_executing() const { in is_executing()
Djs-generator.tq5 extern class JSGeneratorObject extends JSObject {
28 extern class JSAsyncFunctionObject extends JSGeneratorObject {
32 extern class JSAsyncGeneratorObject extends JSGeneratorObject {
Dsource-text-module.cc101 return JSGeneratorObject::cast(code()).function().shared(); in GetSharedFunctionInfo()
417 DCHECK_EQ(*function, Handle<JSGeneratorObject>::cast(generator)->function()); in RunInitializationCode()
418 module->set_code(JSGeneratorObject::cast(*generator)); in RunInitializationCode()
1002 Handle<JSGeneratorObject> generator(JSGeneratorObject::cast(module->code()), in ExecuteModule()
Dsource-text-module.tq14 code: SharedFunctionInfo|JSFunction|JSGeneratorObject;
Dobject-list-macros.h146 V(JSGeneratorObject) \
/third_party/node/deps/v8/src/runtime/
Druntime-generator.cc63 Handle<JSGeneratorObject> generator = in RUNTIME_FUNCTION()
69 generator->set_resume_mode(JSGeneratorObject::ResumeMode::kNext); in RUNTIME_FUNCTION()
70 generator->set_continuation(JSGeneratorObject::kGeneratorExecuting); in RUNTIME_FUNCTION()
86 Handle<JSGeneratorObject> generator = args.at<JSGeneratorObject>(0); in RUNTIME_FUNCTION()
Druntime-debug.cc240 Handle<JSGeneratorObject> generator = in GetInternalProperties()
241 Handle<JSGeneratorObject>::cast(object); in GetInternalProperties()
388 Handle<JSGeneratorObject> gen = args.at<JSGeneratorObject>(0); in RUNTIME_FUNCTION()
413 Handle<JSGeneratorObject> gen = args.at<JSGeneratorObject>(0); in RUNTIME_FUNCTION()
456 Handle<JSGeneratorObject> gen = args.at<JSGeneratorObject>(0); in RUNTIME_FUNCTION()
827 Handle<JSGeneratorObject> generator = args.at<JSGeneratorObject>(3); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/interpreter/
Dinterpreter-intrinsics-generator.cc181 TNode<JSGeneratorObject> generator = in GeneratorGetResumeMode()
184 __ LoadObjectField(generator, JSGeneratorObject::kResumeModeOffset); in GeneratorGetResumeMode()
192 TNode<JSGeneratorObject> generator = in GeneratorClose()
195 generator, JSGeneratorObject::kContinuationOffset, in GeneratorClose()
196 __ SmiConstant(JSGeneratorObject::kGeneratorClosed)); in GeneratorClose()
Dinterpreter-generator.cc3004 TNode<JSGeneratorObject> generator = CAST(LoadRegisterAtOperandIndex(0)); in IGNITION_HANDLER()
3006 generator, JSGeneratorObject::kParametersAndRegistersOffset)); in IGNITION_HANDLER()
3018 StoreObjectField(generator, JSGeneratorObject::kContextOffset, context); in IGNITION_HANDLER()
3019 StoreObjectField(generator, JSGeneratorObject::kContinuationOffset, in IGNITION_HANDLER()
3025 StoreObjectField(generator, JSGeneratorObject::kInputOrDebugPosOffset, in IGNITION_HANDLER()
3045 TNode<JSGeneratorObject> generator = CAST(maybe_generator); in IGNITION_HANDLER()
3048 CAST(LoadObjectField(generator, JSGeneratorObject::kContinuationOffset)); in IGNITION_HANDLER()
3049 TNode<Smi> new_state = SmiConstant(JSGeneratorObject::kGeneratorExecuting); in IGNITION_HANDLER()
3050 StoreObjectField(generator, JSGeneratorObject::kContinuationOffset, in IGNITION_HANDLER()
3054 CAST(LoadObjectField(generator, JSGeneratorObject::kContextOffset)); in IGNITION_HANDLER()
[all …]
/third_party/node/deps/v8/src/debug/
Ddebug-scopes.h52 ScopeIterator(Isolate* isolate, Handle<JSGeneratorObject> generator);
115 Handle<JSGeneratorObject> generator_;
Ddebug-scope-iterator.cc44 internal::Handle<internal::JSGeneratorObject>::cast(generator))); in CreateForGeneratorObject()
64 Handle<JSGeneratorObject> generator) in DebugScopeIterator()
Ddebug-scope-iterator.h19 DebugScopeIterator(Isolate* isolate, Handle<JSGeneratorObject> generator);
Ddebug.h30 class JSGeneratorObject; variable
88 JSGeneratorObject GetGeneratorObjectForSuspendedFrame(
Dliveedit.cc796 std::vector<Handle<JSGeneratorObject>> running_generators;
842 JSGeneratorObject gen = JSGeneratorObject::cast(obj); in Fill()
/third_party/node/deps/v8/src/compiler/
Daccess-builder.cc237 FieldAccess access = {kTaggedBase, JSGeneratorObject::kContextOffset, in ForJSGeneratorObjectContext()
247 JSGeneratorObject::kFunctionOffset, in ForJSGeneratorObjectFunction()
258 FieldAccess access = {kTaggedBase, JSGeneratorObject::kReceiverOffset, in ForJSGeneratorObjectReceiver()
268 kTaggedBase, JSGeneratorObject::kContinuationOffset, in ForJSGeneratorObjectContinuation()
278 kTaggedBase, JSGeneratorObject::kInputOrDebugPosOffset, in ForJSGeneratorObjectInputOrDebugPos()
288 kTaggedBase, JSGeneratorObject::kParametersAndRegistersOffset, in ForJSGeneratorObjectParametersAndRegisters()
298 kTaggedBase, JSGeneratorObject::kResumeModeOffset, in ForJSGeneratorObjectResumeMode()
/third_party/node/deps/v8/src/baseline/
Dbaseline-compiler.cc1373 JSGeneratorObject::kResumeModeOffset); in VisitIntrinsicGeneratorGetResumeMode()
1380 JSGeneratorObject::kContinuationOffset, in VisitIntrinsicGeneratorClose()
1381 Smi::FromInt(JSGeneratorObject::kGeneratorClosed)); in VisitIntrinsicGeneratorClose()
2236 JSGeneratorObject::kContinuationOffset); in VisitSwitchOnGeneratorState()
2238 generator_object, JSGeneratorObject::kContinuationOffset, in VisitSwitchOnGeneratorState()
2239 Smi::FromInt(JSGeneratorObject::kGeneratorExecuting)); in VisitSwitchOnGeneratorState()
2243 JSGeneratorObject::kContextOffset); in VisitSwitchOnGeneratorState()
/third_party/node/deps/v8/src/profiler/
Dheap-snapshot-generator.h41 class JSGeneratorObject; variable
442 JSGeneratorObject generator);
Dheap-snapshot-generator.cc776 JSGeneratorObject gen = JSGeneratorObject::cast(object); in ExtractLocation()
1074 ExtractJSGeneratorObjectReferences(entry, JSGeneratorObject::cast(obj)); in ExtractReferences()
1625 HeapEntry* entry, JSGeneratorObject generator) { in ExtractJSGeneratorObjectReferences()
1627 JSGeneratorObject::kFunctionOffset); in ExtractJSGeneratorObjectReferences()
1629 JSGeneratorObject::kContextOffset); in ExtractJSGeneratorObjectReferences()
1631 JSGeneratorObject::kReceiverOffset); in ExtractJSGeneratorObjectReferences()
1634 JSGeneratorObject::kParametersAndRegistersOffset); in ExtractJSGeneratorObjectReferences()

123