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

Issue 15952007: Replace DeoptimizeOnUndefined with whitelisting AllowUndefinedAsNan (Closed)

Created:
7 years, 6 months ago by Toon Verwaest
Modified:
7 years, 6 months ago
Reviewers:
danno
CC:
v8-dev
Visibility:
Public.

Description

Replace DeoptimizeOnUndefined with whitelisting AllowUndefinedAsNan R=danno@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=14894

Patch Set 1 : Adding test #

Total comments: 4

Patch Set 2 : Addressed comments #

Patch Set 3 : Restore the flag #

Patch Set 4 : Propagate through all phis #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -54 lines) Patch
M src/arm/lithium-codegen-arm.h View 1 chunk +1 line, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 6 chunks +15 lines, -17 lines 0 comments Download
M src/hydrogen-instructions.h View 11 chunks +13 lines, -7 lines 0 comments Download
M src/hydrogen-instructions.cc View 4 chunks +4 lines, -5 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M test/mjsunit/regress/regress-convert-hole.js View 2 chunks +65 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Toon Verwaest
PTAL
7 years, 6 months ago (2013-05-29 13:58:25 UTC) #1
danno
https://chromiumcodereview.appspot.com/15952007/diff/13/src/hydrogen.cc File src/hydrogen.cc (right): https://chromiumcodereview.appspot.com/15952007/diff/13/src/hydrogen.cc#newcode1589 src/hydrogen.cc:1589: holey_store->SetFlag(HValue::kAllowUndefinedAsNaN); Maybe a comment, e.g. "Allow NaN hole values ...
7 years, 6 months ago (2013-05-29 15:33:16 UTC) #2
Toon Verwaest
Addressed comments. https://chromiumcodereview.appspot.com/15952007/diff/13/src/hydrogen.cc File src/hydrogen.cc (right): https://chromiumcodereview.appspot.com/15952007/diff/13/src/hydrogen.cc#newcode1589 src/hydrogen.cc:1589: holey_store->SetFlag(HValue::kAllowUndefinedAsNaN); On 2013/05/29 15:33:16, danno wrote: > ...
7 years, 6 months ago (2013-05-29 16:19:58 UTC) #3
Toon Verwaest
I undid my second change. The flag is required because otherwise the double-load will deopt ...
7 years, 6 months ago (2013-05-29 16:38:38 UTC) #4
danno
lgtm
7 years, 6 months ago (2013-05-30 08:43:42 UTC) #5
Toon Verwaest
7 years, 6 months ago (2013-05-30 09:11:16 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r14894 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698