Chromium Code Reviews
DescriptionEnable merging of comparisons into branches in checked mode.
Instead of inserting an explicit type check at branches, the
branch instruction checks the input for boolean itself:
"if (a < b)" will be translated by the flowgraph builder
like this:
CheckedBranch(a < b)
before it would look like this:
t1 <- (a < b)
t2 <- AssertBool(t1)
Branch(t2 === true)
Also in this change:
flow_graph_optimizer.cc contains a small fix of an assert triggered when running with --trace-optimization.
Committed: https://code.google.com/p/dart/source/detail?r=14006
Patch Set 1 #
Total comments: 4
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||