Description[turbofan] Move global constant optimization to AstGraphBuilder.
Optimizing global constants such as "NaN", "Infinity" and "undefined" is
best performed during graph building. Then the optimization and lowering
passes only need to deal with real loads in case of JSLoadGlobal.
R=mstarzinger@chromium.org
BUG=v8:4470
LOG=n
Committed: https://crrev.com/74ae226b94f8951cf359f382d1817f08391844f7
Cr-Commit-Position: refs/heads/master@{#31135}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 11 (3 generated)
|