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

Issue 2449373002: PPC/s390: [crankshaft] Refactor kAllowUndefinedAsNaN to kTruncatingToNumber. (Closed)

Created:
4 years, 1 month ago by JaideepBajwa
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com, yangtian.zi
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

PPC/s390: [crankshaft] Refactor kAllowUndefinedAsNaN to kTruncatingToNumber. Port df981a9ff5c875fcd0ed2056b371968d5887a595 Original commit message: The meaning of the HValue::kAllowUndefinedAsNaN is actually ToNumber conversion (except for the uses in HBranch and HCompareHoleAndBranch, which were confusing and useless anyways), so fix the naming to match that. Also properly integrate the handling of this flag with the existing truncation analysis that is run as part of the representation changes phase (i.e. where we already deal with truncating to int32 and smi). This is done in preparation of allowing Crankshaft to handle any kind of Oddball in the ToNumber truncation, instead of just undefined for truncation ToNumber and undefined or boolean for ToInt32. It also helps to make Crankshaft somewhat more compatible with the (saner) implementation in TurboFan. R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com BUG= LOG=N Committed: https://crrev.com/35b3e01394145b4566539af0e4811e6716d765d8 Cr-Commit-Position: refs/heads/master@{#40593}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M src/crankshaft/ppc/lithium-codegen-ppc.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/ppc/lithium-ppc.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/crankshaft/s390/lithium-codegen-s390.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/s390/lithium-s390.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
JaideepBajwa
ptal
4 years, 1 month ago (2016-10-26 11:42:22 UTC) #1
john.yan
lgtm
4 years, 1 month ago (2016-10-26 14:15:49 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2449373002/1
4 years, 1 month ago (2016-10-26 14:16:16 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-10-26 14:40:39 UTC) #5
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:14:07 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/35b3e01394145b4566539af0e4811e6716d765d8
Cr-Commit-Position: refs/heads/master@{#40593}

Powered by Google App Engine
This is Rietveld 408576698