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

Issue 2456503003: X87: [crankshaft] Refactor kAllowUndefinedAsNaN to kTruncatingToNumber. (Closed)

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

Description

X87: [crankshaft] Refactor kAllowUndefinedAsNaN to kTruncatingToNumber. port df981a9ff5c875fcd0ed2056b371968d5887a595 (r40577) 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. BUG= Committed: https://crrev.com/9bc155b9c390f50c817ecca3ba54b4c107b82ea8 Cr-Commit-Position: refs/heads/master@{#40607}

Patch Set 1 #

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

Messages

Total messages: 8 (3 generated)
zhengxing.li
PTAL, thanks!
4 years, 1 month ago (2016-10-27 02:40:03 UTC) #2
Weiliang
lgtm
4 years, 1 month ago (2016-10-27 04:04:58 UTC) #3
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/2456503003/1
4 years, 1 month ago (2016-10-27 04:08:32 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-10-27 04:32:11 UTC) #6
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:14:53 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9bc155b9c390f50c817ecca3ba54b4c107b82ea8
Cr-Commit-Position: refs/heads/master@{#40607}

Powered by Google App Engine
This is Rietveld 408576698