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

Issue 22152003: Never hchange nan-hole to hole or hole to nan-hole. (Closed)

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

Description

Never hchange nan-hole to hole or hole to nan-hole. Only allow changing hole to nan if all uses allow undefined as nan. R=danno@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16183

Patch Set 1 : #

Patch Set 2 : Add individual test-file #

Total comments: 4

Patch Set 3 : Addressed comment #

Patch Set 4 : Port to ARM / x64 #

Total comments: 5

Patch Set 5 : Addressed ARM comment #

Patch Set 6 : Chance cc by condition where relevant #

Patch Set 7 : Also change in header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -277 lines) Patch
M src/arm/lithium-arm.h View 1 2 3 2 chunks +15 lines, -2 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.h View 1 2 3 4 5 6 2 chunks +6 lines, -4 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 13 chunks +47 lines, -60 lines 0 comments Download
M src/hydrogen.cc View 2 chunks +20 lines, -6 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 6 chunks +39 lines, -8 lines 0 comments Download
M src/hydrogen-instructions.cc View 6 chunks +18 lines, -16 lines 0 comments Download
M src/hydrogen-mark-deoptimize.h View 1 chunk +12 lines, -0 lines 0 comments Download
M src/hydrogen-mark-deoptimize.cc View 1 2 2 chunks +21 lines, -8 lines 0 comments Download
M src/hydrogen-representation-changes.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 12 chunks +57 lines, -85 lines 0 comments Download
M src/ia32/lithium-ia32.h View 2 chunks +15 lines, -2 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/lithium.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 7 chunks +36 lines, -51 lines 0 comments Download
M src/x64/lithium-x64.h View 1 2 3 2 chunks +15 lines, -2 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
A + test/mjsunit/regress/regress-convert-hole2.js View 1 1 chunk +49 lines, -24 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Toon Verwaest
PTAL
7 years, 4 months ago (2013-08-05 09:29:58 UTC) #1
Toon Verwaest
Entirely changed the approach. PTAL again; only ia32 for now.
7 years, 4 months ago (2013-08-07 14:16:02 UTC) #2
danno
https://codereview.chromium.org/22152003/diff/17024/src/hydrogen-mark-deoptimize.cc File src/hydrogen-mark-deoptimize.cc (right): https://codereview.chromium.org/22152003/diff/17024/src/hydrogen-mark-deoptimize.cc#newcode74 src/hydrogen-mark-deoptimize.cc:74: if (HChange::cast(current)->convert_undefined_to_nan()) { shouldn't this method be called "can_context_undefined_to_nan"? ...
7 years, 4 months ago (2013-08-13 12:55:03 UTC) #3
Toon Verwaest
Addressed comment https://chromiumcodereview.appspot.com/22152003/diff/17024/src/hydrogen-mark-deoptimize.cc File src/hydrogen-mark-deoptimize.cc (right): https://chromiumcodereview.appspot.com/22152003/diff/17024/src/hydrogen-mark-deoptimize.cc#newcode74 src/hydrogen-mark-deoptimize.cc:74: if (HChange::cast(current)->convert_undefined_to_nan()) { On 2013/08/13 12:55:03, danno ...
7 years, 4 months ago (2013-08-13 13:18:55 UTC) #4
danno
lgtm
7 years, 4 months ago (2013-08-13 13:20:29 UTC) #5
Toon Verwaest
Ported to ARM / X64, PTAL
7 years, 4 months ago (2013-08-13 13:55:50 UTC) #6
Rodolph Perfetta
dbc https://chromiumcodereview.appspot.com/22152003/diff/35001/src/arm/lithium-codegen-arm.cc File src/arm/lithium-codegen-arm.cc (right): https://chromiumcodereview.appspot.com/22152003/diff/35001/src/arm/lithium-codegen-arm.cc#newcode2161 src/arm/lithium-codegen-arm.cc:2161: void LCodeGen::EmitFalseBranch(InstrType instr, Condition cc) { cc is ...
7 years, 4 months ago (2013-08-13 15:08:14 UTC) #7
Toon Verwaest
Hi Rodolph, thanks for the DBC! I have an inline question. https://chromiumcodereview.appspot.com/22152003/diff/35001/src/arm/lithium-codegen-arm.cc File src/arm/lithium-codegen-arm.cc (right): ...
7 years, 4 months ago (2013-08-13 15:16:50 UTC) #8
Rodolph Perfetta
https://chromiumcodereview.appspot.com/22152003/diff/35001/src/arm/lithium-codegen-arm.cc File src/arm/lithium-codegen-arm.cc (right): https://chromiumcodereview.appspot.com/22152003/diff/35001/src/arm/lithium-codegen-arm.cc#newcode2161 src/arm/lithium-codegen-arm.cc:2161: void LCodeGen::EmitFalseBranch(InstrType instr, Condition cc) { It would be ...
7 years, 4 months ago (2013-08-13 15:22:02 UTC) #9
Toon Verwaest
Ok, done.
7 years, 4 months ago (2013-08-13 17:12:04 UTC) #10
Toon Verwaest
7 years, 4 months ago (2013-08-14 08:54:51 UTC) #11
Message was sent while issue was closed.
Committed patchset #7 manually as r16183.

Powered by Google App Engine
This is Rietveld 408576698