Lines Matching refs:current_microtask
1059 Handle<Object> current_microtask = isolate->factory()->current_microtask();
1060 if (current_microtask->IsPromiseReactionJobTask()) {
1062 Handle<PromiseReactionJobTask>::cast(current_microtask);
5096 // (1) Resetting the |current_microtask| slot on the Isolate to avoid leaking
5097 // memory (and also to keep |current_microtask| not being undefined as an
5100 // (3) If the |current_microtask| is a promise reaction or resolve thenable
5105 // Reset the |current_microtask| global slot.
5106 Handle<Microtask> current_microtask(
5107 Microtask::cast(heap()->current_microtask()), this);
5113 if (current_microtask->IsPromiseReactionJobTask()) {
5115 Handle<PromiseReactionJobTask>::cast(current_microtask);
5126 } else if (current_microtask->IsPromiseResolveThenableJobTask()) {
5128 Handle<PromiseResolveThenableJobTask>::cast(current_microtask);