Reviewers: Michael Starzinger,
Description:
[turbofan] Connect loops to end via Terminate during graph building.
This way we don't need to connect (potentially) non-terminating loops
later during control reduction, which saves one forward pass over the
control graph. Long term we will move the trimming functionality of
the control reducer to the GraphReducer, and get rid of the Finish
method again.
As a bonus, this change also properly rewires Terminate, Throw and
Deoptimize during inlining.
[email protected]
Please review this at https://codereview.chromium.org/1155683004/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+22, -212 lines):
M src/compiler/ast-graph-builder.cc
M src/compiler/common-operator.cc
M src/compiler/control-reducer.cc
M src/compiler/js-inlining.cc
M test/cctest/compiler/test-control-reducer.cc
M test/unittests/compiler/common-operator-unittest.cc
M test/unittests/compiler/control-reducer-unittest.cc
--
--
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.