https://codereview.chromium.org/21065003/diff/15001/src/hydrogen-mark-deoptimize.cc
File src/hydrogen-mark-deoptimize.cc (right):

https://codereview.chromium.org/21065003/diff/15001/src/hydrogen-mark-deoptimize.cc#newcode51
src/hydrogen-mark-deoptimize.cc:51: void
HMarkDeoptimizeOnUndefinedPhase::AddToWorklist(HPhi* phi) {
Any reason to have AddToWorklist function at all? I would do it this
way:
- Rename ProcessWorklist into ProcessPhi
- Pass phi to ProcessPhi and make worklist local to ProcessPhiTree
- Remove global worklist

https://codereview.chromium.org/21065003/

--
--
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/groups/opt_out.


Reply via email to