/external/v8/src/objects/ |
js-generator-inl.h | 18 CAST_ACCESSOR(JSGeneratorObject) 21 ACCESSORS(JSGeneratorObject, function, JSFunction, kFunctionOffset) 22 ACCESSORS(JSGeneratorObject, context, Context, kContextOffset) 23 ACCESSORS(JSGeneratorObject, receiver, Object, kReceiverOffset) 24 ACCESSORS(JSGeneratorObject, input_or_debug_pos, Object, kInputOrDebugPosOffset) 25 SMI_ACCESSORS(JSGeneratorObject, resume_mode, kResumeModeOffset) 26 SMI_ACCESSORS(JSGeneratorObject, continuation, kContinuationOffset) 27 ACCESSORS(JSGeneratorObject, parameters_and_registers, FixedArray, 30 bool JSGeneratorObject::is_suspended() const { 36 bool JSGeneratorObject::is_closed() const [all...] |
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;
|
module.cc | 290 return JSGeneratorObject::cast(code())->function()->shared(); 550 DCHECK_EQ(*function, Handle<JSGeneratorObject>::cast(generator)->function()); 715 Handle<JSGeneratorObject> generator(JSGeneratorObject::cast(module->code()), [all...] |
/external/v8/src/builtins/ |
builtins-generator-gen.cc | 24 JSGeneratorObject::ResumeMode resume_mode, 30 JSGeneratorObject::ResumeMode resume_mode, char const* const method_name) { 31 // Check if the {receiver} is actually a JSGeneratorObject. 37 CAST(LoadObjectField(receiver, JSGeneratorObject::kContinuationOffset)); 40 TNode<Smi> closed = SmiConstant(JSGeneratorObject::kGeneratorClosed); 42 DCHECK_LT(JSGeneratorObject::kGeneratorExecuting, 43 JSGeneratorObject::kGeneratorClosed); 47 StoreObjectFieldNoWriteBarrier(receiver, JSGeneratorObject::kResumeModeOffset, 61 CAST(LoadObjectField(receiver, JSGeneratorObject::kContinuationOffset)); 67 TNode<Smi> executing = SmiConstant(JSGeneratorObject::kGeneratorExecuting) [all...] |
builtins-async-function-gen.cc | 31 JSGeneratorObject::ResumeMode resume_mode); 48 JSGeneratorObject::ResumeMode resume_mode) { 49 DCHECK(resume_mode == JSGeneratorObject::kNext || 50 resume_mode == JSGeneratorObject::kThrow); 64 generator, JSGeneratorObject::kContinuationOffset)), 65 SmiConstant(JSGeneratorObject::kGeneratorClosed))); 69 JSGeneratorObject::kResumeModeOffset, 88 JSGeneratorObject::kThrow); 97 AsyncFunctionAwaitResumeClosure(context, sentValue, JSGeneratorObject::kNext);
|
builtins-async-generator-gen.cc | 42 return LoadObjectField(generator, JSGeneratorObject::kContinuationOffset); 46 return SmiEqual(state, SmiConstant(JSGeneratorObject::kGeneratorClosed)); 68 SmiConstant(JSGeneratorObject::kGeneratorExecuting)); 96 generator, JSGeneratorObject::kContinuationOffset, 97 SmiConstant(JSGeneratorObject::kGeneratorClosed)); 125 return SmiNotEqual(resume_type, SmiConstant(JSGeneratorObject::kNext)); 238 JSGeneratorObject::kResumeModeOffset, 447 var_state.Bind(SmiConstant(JSGeneratorObject::kGeneratorClosed)); 452 Branch(SmiEqual(resume_type, SmiConstant(JSGeneratorObject::kReturn)), 490 generator, JSGeneratorObject::kResumeModeOffset, resume_type) [all...] |
builtins-object-gen.cc | [all...] |
/external/v8/src/runtime/ |
runtime-generator.cc | 29 Handle<JSGeneratorObject> generator = 35 generator->set_continuation(JSGeneratorObject::kGeneratorExecuting); 51 CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, generator, 0);
|
runtime-debug.cc | 209 Handle<JSGeneratorObject> generator = 210 Handle<JSGeneratorObject>::cast(object); 296 CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, gen, 0); 321 CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, gen, 0); 364 CONVERT_ARG_HANDLE_CHECKED(JSGeneratorObject, gen, 0);
|
/external/v8/src/debug/ |
debug-scopes.h | 50 ScopeIterator(Isolate* isolate, Handle<JSGeneratorObject> generator); 109 Handle<JSGeneratorObject> generator_;
|
debug-scope-iterator.h | 20 DebugScopeIterator(Isolate* isolate, Handle<JSGeneratorObject> generator);
|
debug-scope-iterator.cc | 45 internal::Handle<internal::JSGeneratorObject>::cast(generator))); 63 Handle<JSGeneratorObject> generator)
|
debug.h | 32 class JSGeneratorObject; 95 JSGeneratorObject* GetGeneratorObjectForSuspendedFrame(
|
/external/v8/src/compiler/ |
access-builder.cc | 219 FieldAccess access = {kTaggedBase, JSGeneratorObject::kContextOffset, 228 FieldAccess access = {kTaggedBase, JSGeneratorObject::kFunctionOffset, 237 FieldAccess access = {kTaggedBase, JSGeneratorObject::kReceiverOffset, 247 kTaggedBase, JSGeneratorObject::kContinuationOffset, 257 kTaggedBase, JSGeneratorObject::kInputOrDebugPosOffset, 268 kTaggedBase, JSGeneratorObject::kParametersAndRegistersOffset, 278 kTaggedBase, JSGeneratorObject::kResumeModeOffset, [all...] |
/external/v8/src/interpreter/ |
interpreter-intrinsics-generator.cc | 343 __ LoadObjectField(generator, JSGeneratorObject::kInputOrDebugPosOffset); 352 __ LoadObjectField(generator, JSGeneratorObject::kResumeModeOffset); 361 generator, JSGeneratorObject::kContinuationOffset, 362 __ SmiConstant(JSGeneratorObject::kGeneratorClosed));
|
interpreter-generator.cc | [all...] |
bytecode-generator.cc | [all...] |
/external/v8/src/builtins/ia32/ |
builtins-ia32.cc | 442 // -- edx : the JSGeneratorObject to resume 448 __ mov(FieldOperand(edx, JSGeneratorObject::kInputOrDebugPosOffset), eax); 449 __ RecordWriteField(edx, JSGeneratorObject::kInputOrDebugPosOffset, eax, ecx, 453 __ mov(edi, FieldOperand(edx, JSGeneratorObject::kFunctionOffset)); 481 __ Push(FieldOperand(edx, JSGeneratorObject::kReceiverOffset)); 485 // -- edx : the JSGeneratorObject to resume 496 FieldOperand(edx, JSGeneratorObject::kParametersAndRegistersOffset)); 510 __ mov(edi, FieldOperand(edx, JSGeneratorObject::kFunctionOffset)); 548 __ mov(edi, FieldOperand(edx, JSGeneratorObject::kFunctionOffset)); 558 __ mov(edi, FieldOperand(edx, JSGeneratorObject::kFunctionOffset)) [all...] |
/external/v8/src/profiler/ |
heap-snapshot-generator.cc | 623 JSGeneratorObject* gen = JSGeneratorObject::cast(object); [all...] |
/external/v8/src/ |
objects-printer.cc | 202 JSGeneratorObject::cast(this)->JSGeneratorObjectPrint(os); 673 void JSGeneratorObject::JSGeneratorObjectPrint(std::ostream& os) { // NOLINT 674 JSObjectPrintHeader(os, this, "JSGeneratorObject"); [all...] |
/external/v8/src/builtins/arm/ |
builtins-arm.cc | 363 // -- r1 : the JSGeneratorObject to resume 369 __ str(r0, FieldMemOperand(r1, JSGeneratorObject::kInputOrDebugPosOffset)); 370 __ RecordWriteField(r1, JSGeneratorObject::kInputOrDebugPosOffset, r0, r3, 374 __ ldr(r4, FieldMemOperand(r1, JSGeneratorObject::kFunctionOffset)); 406 __ ldr(scratch, FieldMemOperand(r1, JSGeneratorObject::kReceiverOffset)); 410 // -- r1 : the JSGeneratorObject to resume 422 FieldMemOperand(r1, JSGeneratorObject::kParametersAndRegistersOffset)); 472 __ ldr(r4, FieldMemOperand(r1, JSGeneratorObject::kFunctionOffset)); 482 __ ldr(r4, FieldMemOperand(r1, JSGeneratorObject::kFunctionOffset)); [all...] |
/external/v8/src/builtins/arm64/ |
builtins-arm64.cc | 393 // -- x1 : the JSGeneratorObject to resume 399 __ Str(x0, FieldMemOperand(x1, JSGeneratorObject::kInputOrDebugPosOffset)); 400 __ RecordWriteField(x1, JSGeneratorObject::kInputOrDebugPosOffset, x0, x3, 404 __ Ldr(x4, FieldMemOperand(x1, JSGeneratorObject::kFunctionOffset)); 446 __ Ldr(x5, FieldMemOperand(x1, JSGeneratorObject::kReceiverOffset)); 450 // -- x1 : the JSGeneratorObject to resume 462 FieldMemOperand(x1, JSGeneratorObject::kParametersAndRegistersOffset)); 515 __ Ldr(x4, FieldMemOperand(x1, JSGeneratorObject::kFunctionOffset)); 525 __ Ldr(x4, FieldMemOperand(x1, JSGeneratorObject::kFunctionOffset)); [all...] |
/external/v8/src/builtins/mips/ |
builtins-mips.cc | 459 // -- a1 : the JSGeneratorObject to resume 466 __ sw(v0, FieldMemOperand(a1, JSGeneratorObject::kInputOrDebugPosOffset)); 467 __ RecordWriteField(a1, JSGeneratorObject::kInputOrDebugPosOffset, v0, a3, 471 __ lw(t0, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset)); 498 __ lw(t1, FieldMemOperand(a1, JSGeneratorObject::kReceiverOffset)); 502 // -- a1 : the JSGeneratorObject to resume 515 FieldMemOperand(a1, JSGeneratorObject::kParametersAndRegistersOffset)); 566 __ lw(t0, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset)); 576 __ lw(t0, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset)); [all...] |
/external/v8/src/builtins/mips64/ |
builtins-mips64.cc | 351 // -- a1 : the JSGeneratorObject to resume 357 __ Sd(v0, FieldMemOperand(a1, JSGeneratorObject::kInputOrDebugPosOffset)); 358 __ RecordWriteField(a1, JSGeneratorObject::kInputOrDebugPosOffset, v0, a3, 362 __ Ld(a4, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset)); 389 __ Ld(a5, FieldMemOperand(a1, JSGeneratorObject::kReceiverOffset)); 393 // -- a1 : the JSGeneratorObject to resume 408 FieldMemOperand(a1, JSGeneratorObject::kParametersAndRegistersOffset)); 459 __ Ld(a4, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset)); 469 __ Ld(a4, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset)); [all...] |
/external/v8/src/builtins/ppc/ |
builtins-ppc.cc | 365 // -- r4 : the JSGeneratorObject to resume 371 __ StoreP(r3, FieldMemOperand(r4, JSGeneratorObject::kInputOrDebugPosOffset), 373 __ RecordWriteField(r4, JSGeneratorObject::kInputOrDebugPosOffset, r3, r6, 377 __ LoadP(r7, FieldMemOperand(r4, JSGeneratorObject::kFunctionOffset)); 409 __ LoadP(ip, FieldMemOperand(r4, JSGeneratorObject::kReceiverOffset)); 413 // -- r4 : the JSGeneratorObject to resume 425 r4, JSGeneratorObject::kParametersAndRegistersOffset)); 474 __ LoadP(r7, FieldMemOperand(r4, JSGeneratorObject::kFunctionOffset)); 484 __ LoadP(r7, FieldMemOperand(r4, JSGeneratorObject::kFunctionOffset)); [all...] |