Description[crankshaft] Fix invalid number truncation assumption on HAdd inputs.
In Crankshaft we don't know reliably know that an HAdd might not turn
into a string addition later (via deoptimization), so we cannot set the
HValue::kAllowUndefinedAsNaN flag on the HAdd instruction in those
cases. It doesn't seem to affect performance if we just remove the flag
completely from the HAdd instruction, so let's stick to that approach
for now.
R=jarin@chromium.org
BUG=v8:5074
Committed: https://crrev.com/f576e29c475d104d93176042d2a79066ad8f638c
Cr-Commit-Position: refs/heads/master@{#36805}
Patch Set 1 #Patch Set 2 : Refine the flag handling to not introduce deopt loops. #
Messages
Total messages: 12 (5 generated)
|