https://codereview.chromium.org/18791002/diff/1/src/hydrogen-dce.h
File src/hydrogen-dce.h (right):

https://codereview.chromium.org/18791002/diff/1/src/hydrogen-dce.h#newcode53
src/hydrogen-dce.h:53: ZoneList<HValue*> worklist_;
On 2013/07/05 19:06:20, Dmitry Lomov (chromium) wrote:
It looks like the uses of worklist_ inside MarkLiveInstructions and
RemoveDeadInstructions are completely independent, and they both
assert that
they start with empty worklist.
Let's not introduce the state where there is no state - keep worklist
local to
each function and pass it to MarkLive. Maybe even better, make
MarkList return
boolean and keep addition to worklist local to MarkLiveInstructions.

Done.

https://codereview.chromium.org/18791002/

--
--
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