/third_party/node/deps/v8/src/builtins/ |
D | builtins-generator-gen.cc | 29 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 …]
|
D | builtins-async-generator-gen.cc | 25 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 …]
|
D | builtins-async-function-gen.cc | 27 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()
|
D | builtins-async-gen.h | 24 TNode<JSGeneratorObject> generator, TNode<Object> value, 30 TNode<JSGeneratorObject> generator, TNode<Object> value, in Await()
|
D | builtins-object-gen.cc | 1266 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()
|
D | builtins-async-gen.cc | 26 TNode<Context> context, TNode<JSGeneratorObject> generator, in Await()
|
/third_party/node/deps/v8/src/objects/ |
D | js-generator.h | 23 class JSGeneratorObject 24 : public TorqueGeneratedJSGeneratorObject<JSGeneratorObject, JSObject> { 37 DECL_PRINTER(JSGeneratorObject) 43 TQ_OBJECT_CONSTRUCTORS(JSGeneratorObject) 48 JSGeneratorObject> { 59 JSGeneratorObject> {
|
D | js-generator-inl.h | 21 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()
|
D | js-generator.tq | 5 extern class JSGeneratorObject extends JSObject { 28 extern class JSAsyncFunctionObject extends JSGeneratorObject { 32 extern class JSAsyncGeneratorObject extends JSGeneratorObject {
|
D | source-text-module.cc | 101 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()
|
D | source-text-module.tq | 14 code: SharedFunctionInfo|JSFunction|JSGeneratorObject;
|
D | object-list-macros.h | 146 V(JSGeneratorObject) \
|
/third_party/node/deps/v8/src/runtime/ |
D | runtime-generator.cc | 63 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()
|
D | runtime-debug.cc | 240 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/ |
D | interpreter-intrinsics-generator.cc | 181 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()
|
D | interpreter-generator.cc | 3004 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/ |
D | debug-scopes.h | 52 ScopeIterator(Isolate* isolate, Handle<JSGeneratorObject> generator); 115 Handle<JSGeneratorObject> generator_;
|
D | debug-scope-iterator.cc | 44 internal::Handle<internal::JSGeneratorObject>::cast(generator))); in CreateForGeneratorObject() 64 Handle<JSGeneratorObject> generator) in DebugScopeIterator()
|
D | debug-scope-iterator.h | 19 DebugScopeIterator(Isolate* isolate, Handle<JSGeneratorObject> generator);
|
D | debug.h | 30 class JSGeneratorObject; variable 88 JSGeneratorObject GetGeneratorObjectForSuspendedFrame(
|
D | liveedit.cc | 796 std::vector<Handle<JSGeneratorObject>> running_generators; 842 JSGeneratorObject gen = JSGeneratorObject::cast(obj); in Fill()
|
/third_party/node/deps/v8/src/compiler/ |
D | access-builder.cc | 237 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/ |
D | baseline-compiler.cc | 1373 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/ |
D | heap-snapshot-generator.h | 41 class JSGeneratorObject; variable 442 JSGeneratorObject generator);
|
D | heap-snapshot-generator.cc | 776 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()
|