[turbofan] The AstGraphBuilder does not need to care about types.
authorbmeurer <bmeurer@chromium.org>
Wed, 17 Jun 2015 05:43:17 +0000 (22:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Jun 2015 05:43:31 +0000 (05:43 +0000)
commitf1db38cae07f873e21ac57d2ff0cdc57134906c9
treefb106aa25bd95e8bce4015076c56373a942ef105
parent3161cb550c8c44560ed7f1ee70f2cc989a8b32d8
[turbofan] The AstGraphBuilder does not need to care about types.

AstGraphBuilder::BuildToBoolean() can be optimized easily without types,
especially since the types are only present on some nodes during graph
building. So this optimization is both more efficient and more effective
at the same time. We will probably refactor this code into a separate
optimization method/class later.

R=jarin@chromium.org

Review URL: https://codereview.chromium.org/1188503003

Cr-Commit-Position: refs/heads/master@{#29062}
src/compiler/ast-graph-builder.cc