On 2015/05/20 12:48:37, rossberg wrote:
On 2015/05/20 11:59:41, yhirano wrote:
> I was wrong on this point: I cannot simply reuse PromiseEnqueue because its
> requirement is different from what the code block wants to do. Should I
> duplicate the all debugger hooks in PromiseEnqueue?

Yes, you need to, otherwise devtools will not work correctly. Maybe this can
be
refactored a little bit to share as much code as possible?
Thanks.

I decoupled the EnqueueMicrotask call and added debug instructions. I think not sharing code is straightforward in this case because the code is not much and
many names are slightly different. What do you think?


https://codereview.chromium.org/1098663002/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to