/external/v8/src/objects/ |
D | js-generator-inl.h | 18 CAST_ACCESSOR(JSGeneratorObject) 21 ACCESSORS(JSGeneratorObject, function, JSFunction, kFunctionOffset) in CAST_ACCESSOR() 22 ACCESSORS(JSGeneratorObject, context, Context, kContextOffset) in CAST_ACCESSOR() 23 ACCESSORS(JSGeneratorObject, receiver, Object, kReceiverOffset) in CAST_ACCESSOR() 24 ACCESSORS(JSGeneratorObject, input_or_debug_pos, Object, kInputOrDebugPosOffset) in CAST_ACCESSOR() 25 SMI_ACCESSORS(JSGeneratorObject, resume_mode, kResumeModeOffset) in CAST_ACCESSOR() 26 SMI_ACCESSORS(JSGeneratorObject, continuation, kContinuationOffset) in CAST_ACCESSOR() 27 ACCESSORS(JSGeneratorObject, parameters_and_registers, FixedArray, in CAST_ACCESSOR() 30 bool JSGeneratorObject::is_suspended() const { in CAST_ACCESSOR() 36 bool JSGeneratorObject::is_closed() const { in is_closed() [all …]
|
D | js-generator.h | 16 class JSGeneratorObject : public JSObject { 56 DECL_CAST(JSGeneratorObject) 59 DECL_PRINTER(JSGeneratorObject) 60 DECL_VERIFIER(JSGeneratorObject) 78 DISALLOW_IMPLICIT_CONSTRUCTORS(JSGeneratorObject); 81 class JSAsyncGeneratorObject : public JSGeneratorObject { 98 static const int kQueueOffset = JSGeneratorObject::kSize;
|
D | module.cc | 290 return JSGeneratorObject::cast(code())->function()->shared(); in GetSharedFunctionInfo() 550 DCHECK_EQ(*function, Handle<JSGeneratorObject>::cast(generator)->function()); in RunInitializationCode() 715 Handle<JSGeneratorObject> generator(JSGeneratorObject::cast(module->code()), in Evaluate()
|
/external/v8/src/builtins/ |
D | builtins-generator-gen.cc | 24 JSGeneratorObject::ResumeMode resume_mode, 30 JSGeneratorObject::ResumeMode resume_mode, char const* const method_name) { in GeneratorPrototypeResume() 37 CAST(LoadObjectField(receiver, JSGeneratorObject::kContinuationOffset)); in GeneratorPrototypeResume() 40 TNode<Smi> closed = SmiConstant(JSGeneratorObject::kGeneratorClosed); in GeneratorPrototypeResume() 42 DCHECK_LT(JSGeneratorObject::kGeneratorExecuting, in GeneratorPrototypeResume() 43 JSGeneratorObject::kGeneratorClosed); in GeneratorPrototypeResume() 47 StoreObjectFieldNoWriteBarrier(receiver, JSGeneratorObject::kResumeModeOffset, in GeneratorPrototypeResume() 61 CAST(LoadObjectField(receiver, JSGeneratorObject::kContinuationOffset)); in GeneratorPrototypeResume() 67 TNode<Smi> executing = SmiConstant(JSGeneratorObject::kGeneratorExecuting); in GeneratorPrototypeResume() 76 receiver, JSGeneratorObject::kContinuationOffset, closed); in GeneratorPrototypeResume() [all …]
|
D | builtins-async-function-gen.cc | 31 JSGeneratorObject::ResumeMode resume_mode); 48 JSGeneratorObject::ResumeMode resume_mode) { in AsyncFunctionAwaitResumeClosure() 49 DCHECK(resume_mode == JSGeneratorObject::kNext || in AsyncFunctionAwaitResumeClosure() 50 resume_mode == JSGeneratorObject::kThrow); in AsyncFunctionAwaitResumeClosure() 64 generator, JSGeneratorObject::kContinuationOffset)), in AsyncFunctionAwaitResumeClosure() 65 SmiConstant(JSGeneratorObject::kGeneratorClosed))); in AsyncFunctionAwaitResumeClosure() 69 JSGeneratorObject::kResumeModeOffset, in AsyncFunctionAwaitResumeClosure() 88 JSGeneratorObject::kThrow); in TF_BUILTIN() 97 AsyncFunctionAwaitResumeClosure(context, sentValue, JSGeneratorObject::kNext); in TF_BUILTIN()
|
D | builtins-async-generator-gen.cc | 42 return LoadObjectField(generator, JSGeneratorObject::kContinuationOffset); in LoadGeneratorState() 46 return SmiEqual(state, SmiConstant(JSGeneratorObject::kGeneratorClosed)); in IsGeneratorStateClosed() 68 SmiConstant(JSGeneratorObject::kGeneratorExecuting)); in IsGeneratorStateNotExecuting() 96 generator, JSGeneratorObject::kContinuationOffset, in CloseGenerator() 97 SmiConstant(JSGeneratorObject::kGeneratorClosed)); in CloseGenerator() 125 return SmiNotEqual(resume_type, SmiConstant(JSGeneratorObject::kNext)); in IsAbruptResumeType() 238 JSGeneratorObject::kResumeModeOffset, in AsyncGeneratorAwaitResumeClosure() 447 var_state.Bind(SmiConstant(JSGeneratorObject::kGeneratorClosed)); in TF_BUILTIN() 452 Branch(SmiEqual(resume_type, SmiConstant(JSGeneratorObject::kReturn)), in TF_BUILTIN() 490 generator, JSGeneratorObject::kResumeModeOffset, resume_type); in TF_BUILTIN() [all …]
|
D | builtins-object-gen.cc | 1484 StoreObjectFieldNoWriteBarrier(result, JSGeneratorObject::kFunctionOffset, in TF_BUILTIN() 1486 StoreObjectFieldNoWriteBarrier(result, JSGeneratorObject::kContextOffset, in TF_BUILTIN() 1488 StoreObjectFieldNoWriteBarrier(result, JSGeneratorObject::kReceiverOffset, in TF_BUILTIN() 1491 result, JSGeneratorObject::kParametersAndRegistersOffset, in TF_BUILTIN() 1493 Node* executing = SmiConstant(JSGeneratorObject::kGeneratorExecuting); in TF_BUILTIN() 1494 StoreObjectFieldNoWriteBarrier(result, JSGeneratorObject::kContinuationOffset, in TF_BUILTIN()
|
/external/v8/src/runtime/ |
D | runtime-generator.cc | 29 Handle<JSGeneratorObject> generator = in RUNTIME_FUNCTION() 35 generator->set_continuation(JSGeneratorObject::kGeneratorExecuting); in RUNTIME_FUNCTION() 51 CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, generator, 0); in RUNTIME_FUNCTION()
|
D | runtime-debug.cc | 209 Handle<JSGeneratorObject> generator = in GetInternalProperties() 210 Handle<JSGeneratorObject>::cast(object); in GetInternalProperties() 296 CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, gen, 0); in RUNTIME_FUNCTION() 321 CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, gen, 0); in RUNTIME_FUNCTION() 364 CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, gen, 0); in RUNTIME_FUNCTION()
|
/external/v8/src/debug/ |
D | debug-scopes.h | 50 ScopeIterator(Isolate* isolate, Handle<JSGeneratorObject> generator); 109 Handle<JSGeneratorObject> generator_;
|
D | debug-scope-iterator.cc | 45 internal::Handle<internal::JSGeneratorObject>::cast(generator))); in CreateForGeneratorObject() 63 Handle<JSGeneratorObject> generator) in DebugScopeIterator()
|
D | debug-scope-iterator.h | 20 DebugScopeIterator(Isolate* isolate, Handle<JSGeneratorObject> generator);
|
D | debug.h | 32 class JSGeneratorObject; variable 95 JSGeneratorObject* GetGeneratorObjectForSuspendedFrame(
|
/external/v8/src/interpreter/ |
D | interpreter-intrinsics-generator.cc | 343 __ LoadObjectField(generator, JSGeneratorObject::kInputOrDebugPosOffset); in GeneratorGetInputOrDebugPos() 352 __ LoadObjectField(generator, JSGeneratorObject::kResumeModeOffset); in GeneratorGetResumeMode() 361 generator, JSGeneratorObject::kContinuationOffset, in GeneratorClose() 362 __ SmiConstant(JSGeneratorObject::kGeneratorClosed)); in GeneratorClose()
|
D | interpreter-generator.cc | 3029 generator, JSGeneratorObject::kParametersAndRegistersOffset)); in IGNITION_HANDLER() 3042 StoreObjectField(generator, JSGeneratorObject::kContextOffset, context); in IGNITION_HANDLER() 3043 StoreObjectField(generator, JSGeneratorObject::kContinuationOffset, in IGNITION_HANDLER() 3049 StoreObjectField(generator, JSGeneratorObject::kInputOrDebugPosOffset, in IGNITION_HANDLER() 3070 LoadObjectField(generator, JSGeneratorObject::kContinuationOffset); in IGNITION_HANDLER() 3071 Node* new_state = SmiConstant(JSGeneratorObject::kGeneratorExecuting); in IGNITION_HANDLER() 3072 StoreObjectField(generator, JSGeneratorObject::kContinuationOffset, in IGNITION_HANDLER() 3075 Node* context = LoadObjectField(generator, JSGeneratorObject::kContextOffset); in IGNITION_HANDLER() 3117 JSGeneratorObject::kParametersAndRegistersOffset)), in IGNITION_HANDLER() 3122 LoadObjectField(generator, JSGeneratorObject::kInputOrDebugPosOffset)); in IGNITION_HANDLER()
|
D | bytecode-generator.cc | 3086 STATIC_ASSERT(JSGeneratorObject::kNext + 1 == JSGeneratorObject::kReturn); in VisitYield() 3088 builder()->AllocateJumpTable(2, JSGeneratorObject::kNext); in VisitYield() 3103 builder()->Bind(jump_table, JSGeneratorObject::kReturn); in VisitYield() 3114 builder()->Bind(jump_table, JSGeneratorObject::kNext); in VisitYield() 3201 ->LoadLiteral(Smi::FromInt(JSGeneratorObject::kNext)) in VisitYieldStar() 3232 STATIC_ASSERT(JSGeneratorObject::kNext == 0); in VisitYieldStar() 3240 STATIC_ASSERT(JSGeneratorObject::kReturn == 1); in VisitYieldStar() 3241 builder()->Bind(switch_jump_table, JSGeneratorObject::kReturn); in VisitYieldStar() 3259 STATIC_ASSERT(JSGeneratorObject::kThrow == 2); in VisitYieldStar() 3260 builder()->Bind(switch_jump_table, JSGeneratorObject::kThrow); in VisitYieldStar() [all …]
|
/external/v8/src/compiler/ |
D | access-builder.cc | 219 FieldAccess access = {kTaggedBase, JSGeneratorObject::kContextOffset, in ForJSGeneratorObjectContext() 228 FieldAccess access = {kTaggedBase, JSGeneratorObject::kFunctionOffset, in ForJSGeneratorObjectFunction() 237 FieldAccess access = {kTaggedBase, JSGeneratorObject::kReceiverOffset, in ForJSGeneratorObjectReceiver() 247 kTaggedBase, JSGeneratorObject::kContinuationOffset, in ForJSGeneratorObjectContinuation() 257 kTaggedBase, JSGeneratorObject::kInputOrDebugPosOffset, in ForJSGeneratorObjectInputOrDebugPos() 268 kTaggedBase, JSGeneratorObject::kParametersAndRegistersOffset, in ForJSGeneratorObjectParametersAndRegisters() 278 kTaggedBase, JSGeneratorObject::kResumeModeOffset, in ForJSGeneratorObjectResumeMode()
|
/external/v8/src/builtins/ia32/ |
D | builtins-ia32.cc | 448 __ mov(FieldOperand(edx, JSGeneratorObject::kInputOrDebugPosOffset), eax); in Generate_ResumeGeneratorTrampoline() 449 __ RecordWriteField(edx, JSGeneratorObject::kInputOrDebugPosOffset, eax, ecx, in Generate_ResumeGeneratorTrampoline() 453 __ mov(edi, FieldOperand(edx, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 481 __ Push(FieldOperand(edx, JSGeneratorObject::kReceiverOffset)); in Generate_ResumeGeneratorTrampoline() 496 FieldOperand(edx, JSGeneratorObject::kParametersAndRegistersOffset)); in Generate_ResumeGeneratorTrampoline() 510 __ mov(edi, FieldOperand(edx, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 548 __ mov(edi, FieldOperand(edx, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 558 __ mov(edi, FieldOperand(edx, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline()
|
/external/v8/src/builtins/ppc/ |
D | builtins-ppc.cc | 371 __ StoreP(r3, FieldMemOperand(r4, JSGeneratorObject::kInputOrDebugPosOffset), in Generate_ResumeGeneratorTrampoline() 373 __ RecordWriteField(r4, JSGeneratorObject::kInputOrDebugPosOffset, r3, r6, in Generate_ResumeGeneratorTrampoline() 377 __ LoadP(r7, FieldMemOperand(r4, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 409 __ LoadP(ip, FieldMemOperand(r4, JSGeneratorObject::kReceiverOffset)); in Generate_ResumeGeneratorTrampoline() 425 r4, JSGeneratorObject::kParametersAndRegistersOffset)); in Generate_ResumeGeneratorTrampoline() 474 __ LoadP(r7, FieldMemOperand(r4, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 484 __ LoadP(r7, FieldMemOperand(r4, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline()
|
/external/v8/src/builtins/x64/ |
D | builtins-x64.cc | 507 __ movp(FieldOperand(rdx, JSGeneratorObject::kInputOrDebugPosOffset), rax); in Generate_ResumeGeneratorTrampoline() 508 __ RecordWriteField(rdx, JSGeneratorObject::kInputOrDebugPosOffset, rax, rcx, in Generate_ResumeGeneratorTrampoline() 512 __ movp(rdi, FieldOperand(rdx, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 543 __ Push(FieldOperand(rdx, JSGeneratorObject::kReceiverOffset)); in Generate_ResumeGeneratorTrampoline() 559 FieldOperand(rdx, JSGeneratorObject::kParametersAndRegistersOffset)); in Generate_ResumeGeneratorTrampoline() 608 __ movp(rdi, FieldOperand(rdx, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 618 __ movp(rdi, FieldOperand(rdx, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline()
|
/external/v8/src/builtins/arm/ |
D | builtins-arm.cc | 369 __ str(r0, FieldMemOperand(r1, JSGeneratorObject::kInputOrDebugPosOffset)); in Generate_ResumeGeneratorTrampoline() 370 __ RecordWriteField(r1, JSGeneratorObject::kInputOrDebugPosOffset, r0, r3, in Generate_ResumeGeneratorTrampoline() 374 __ ldr(r4, FieldMemOperand(r1, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 406 __ ldr(scratch, FieldMemOperand(r1, JSGeneratorObject::kReceiverOffset)); in Generate_ResumeGeneratorTrampoline() 422 FieldMemOperand(r1, JSGeneratorObject::kParametersAndRegistersOffset)); in Generate_ResumeGeneratorTrampoline() 472 __ ldr(r4, FieldMemOperand(r1, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 482 __ ldr(r4, FieldMemOperand(r1, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline()
|
/external/v8/src/profiler/ |
D | heap-snapshot-generator.cc | 623 JSGeneratorObject* gen = JSGeneratorObject::cast(object); in ExtractLocation() 891 ExtractJSGeneratorObjectReferences(entry, JSGeneratorObject::cast(obj)); in ExtractReferences() 1385 int entry, JSGeneratorObject* generator) { in ExtractJSGeneratorObjectReferences() 1387 JSGeneratorObject::kFunctionOffset); in ExtractJSGeneratorObjectReferences() 1389 JSGeneratorObject::kContextOffset); in ExtractJSGeneratorObjectReferences() 1391 JSGeneratorObject::kReceiverOffset); in ExtractJSGeneratorObjectReferences() 1394 JSGeneratorObject::kParametersAndRegistersOffset); in ExtractJSGeneratorObjectReferences()
|
/external/v8/src/builtins/arm64/ |
D | builtins-arm64.cc | 399 __ Str(x0, FieldMemOperand(x1, JSGeneratorObject::kInputOrDebugPosOffset)); in Generate_ResumeGeneratorTrampoline() 400 __ RecordWriteField(x1, JSGeneratorObject::kInputOrDebugPosOffset, x0, x3, in Generate_ResumeGeneratorTrampoline() 404 __ Ldr(x4, FieldMemOperand(x1, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 446 __ Ldr(x5, FieldMemOperand(x1, JSGeneratorObject::kReceiverOffset)); in Generate_ResumeGeneratorTrampoline() 462 FieldMemOperand(x1, JSGeneratorObject::kParametersAndRegistersOffset)); in Generate_ResumeGeneratorTrampoline() 515 __ Ldr(x4, FieldMemOperand(x1, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 525 __ Ldr(x4, FieldMemOperand(x1, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline()
|
/external/v8/src/builtins/mips/ |
D | builtins-mips.cc | 466 __ sw(v0, FieldMemOperand(a1, JSGeneratorObject::kInputOrDebugPosOffset)); in Generate_ResumeGeneratorTrampoline() 467 __ RecordWriteField(a1, JSGeneratorObject::kInputOrDebugPosOffset, v0, a3, in Generate_ResumeGeneratorTrampoline() 471 __ lw(t0, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 498 __ lw(t1, FieldMemOperand(a1, JSGeneratorObject::kReceiverOffset)); in Generate_ResumeGeneratorTrampoline() 515 FieldMemOperand(a1, JSGeneratorObject::kParametersAndRegistersOffset)); in Generate_ResumeGeneratorTrampoline() 566 __ lw(t0, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 576 __ lw(t0, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline()
|
/external/v8/src/builtins/s390/ |
D | builtins-s390.cc | 363 __ StoreP(r2, FieldMemOperand(r3, JSGeneratorObject::kInputOrDebugPosOffset), in Generate_ResumeGeneratorTrampoline() 365 __ RecordWriteField(r3, JSGeneratorObject::kInputOrDebugPosOffset, r2, r5, in Generate_ResumeGeneratorTrampoline() 369 __ LoadP(r6, FieldMemOperand(r3, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 400 __ LoadP(ip, FieldMemOperand(r3, JSGeneratorObject::kReceiverOffset)); in Generate_ResumeGeneratorTrampoline() 416 r3, JSGeneratorObject::kParametersAndRegistersOffset)); in Generate_ResumeGeneratorTrampoline() 474 __ LoadP(r6, FieldMemOperand(r3, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline() 484 __ LoadP(r6, FieldMemOperand(r3, JSGeneratorObject::kFunctionOffset)); in Generate_ResumeGeneratorTrampoline()
|