Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Issue 2048643002: [crankshaft] Fix invalid number truncation assumption on HAdd inputs. (Closed)

Created:
4 years, 6 months ago by Benedikt Meurer
Modified:
4 years, 6 months ago
Reviewers:
Jarin
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
M src/crankshaft/hydrogen-instructions.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
A + test/mjsunit/compiler/regress-5074.js View 1 chunk +9 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Benedikt Meurer
4 years, 6 months ago (2016-06-07 12:59:12 UTC) #1
Jarin
lgtm. Thanks!
4 years, 6 months ago (2016-06-07 13:03:24 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2048643002/1
4 years, 6 months ago (2016-06-07 13:03:45 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/2766) v8_linux64_asan_rel_ng_triggered on tryserver.v8 (JOB_FAILED, ...
4 years, 6 months ago (2016-06-07 13:18:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2048643002/20001
4 years, 6 months ago (2016-06-08 03:29:46 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-08 03:55:33 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 03:56:29 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f576e29c475d104d93176042d2a79066ad8f638c
Cr-Commit-Position: refs/heads/master@{#36805}

Powered by Google App Engine
This is Rietveld 408576698