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

Issue 1412673003: [turbofan] Compute more precise type for ObjectIsSmi if possible. (Closed)

Created:
5 years, 2 months ago by Benedikt Meurer
Modified:
5 years, 2 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

[turbofan] Compute more precise type for ObjectIsSmi if possible. The typer can infer true/false for ObjectIsSmi if the argument has a fixed/known representation (i.e. is either known to be smi or heap object). R=jarin@chromium.org Committed: https://crrev.com/66ca9c83814bff53b77dde0b98cb125add9d10e9 Cr-Commit-Position: refs/heads/master@{#31354}

Patch Set 1 #

Patch Set 2 : Fix None. #

Total comments: 2

Patch Set 3 : Address Jaro's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M src/compiler/typer.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
Benedikt Meurer
5 years, 2 months ago (2015-10-19 06:15:19 UTC) #1
Benedikt Meurer
Hey Jaro, Easy change for the Typer to eliminate a bunch of smi checks. Please ...
5 years, 2 months ago (2015-10-19 06:15:55 UTC) #2
Jarin
lgtm https://codereview.chromium.org/1412673003/diff/20001/src/compiler/typer.cc File src/compiler/typer.cc (right): https://codereview.chromium.org/1412673003/diff/20001/src/compiler/typer.cc#newcode1662 src/compiler/typer.cc:1662: if (arg->Is(Type::None())) return arg; I think it would ...
5 years, 2 months ago (2015-10-19 07:23:22 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412673003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412673003/40001
5 years, 2 months ago (2015-10-19 07:25:26 UTC) #6
Benedikt Meurer
https://codereview.chromium.org/1412673003/diff/20001/src/compiler/typer.cc File src/compiler/typer.cc (right): https://codereview.chromium.org/1412673003/diff/20001/src/compiler/typer.cc#newcode1662 src/compiler/typer.cc:1662: if (arg->Is(Type::None())) return arg; On 2015/10/19 07:23:22, Jarin wrote: ...
5 years, 2 months ago (2015-10-19 07:25:44 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-19 07:47:21 UTC) #8
commit-bot: I haz the power
5 years, 2 months ago (2015-10-19 07:47:44 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/66ca9c83814bff53b77dde0b98cb125add9d10e9
Cr-Commit-Position: refs/heads/master@{#31354}

Powered by Google App Engine
This is Rietveld 408576698