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

Issue 2094613003: Canonicalize CheckedSmiOp if compile type turns out to be smi. (Closed)

Created:
4 years, 6 months ago by Florian Schneider
Modified:
4 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Canonicalize CheckedSmiOp if compile type turns out to be smi. Certain CheckedSmiOp operations can be specialized later during optimization when the compile type turns out to be smi, and we know that the operation can't deoptimize. BUG=#26761 R=vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/28c0ab16f2f31c2fa21b96d2b5d187986150c264

Patch Set 1 #

Total comments: 2

Patch Set 2 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -0 lines) Patch
M runtime/vm/intermediate_language.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Florian Schneider
4 years, 6 months ago (2016-06-23 17:15:13 UTC) #2
Vyacheslav Egorov (Google)
https://codereview.chromium.org/2094613003/diff/1/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/2094613003/diff/1/runtime/vm/intermediate_language.cc#newcode1770 runtime/vm/intermediate_language.cc:1770: case Token::kBIT_AND: Please add a comment here about deoptimizations ...
4 years, 6 months ago (2016-06-23 17:17:57 UTC) #3
Vyacheslav Egorov (Google)
lgtm
4 years, 6 months ago (2016-06-23 17:18:02 UTC) #4
Florian Schneider
Committed patchset #2 (id:20001) manually as 28c0ab16f2f31c2fa21b96d2b5d187986150c264 (presubmit successful).
4 years, 6 months ago (2016-06-23 17:31:28 UTC) #6
Florian Schneider
4 years, 6 months ago (2016-06-23 17:35:04 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/2094613003/diff/1/runtime/vm/intermediate_lan...
File runtime/vm/intermediate_language.cc (right):

https://codereview.chromium.org/2094613003/diff/1/runtime/vm/intermediate_lan...
runtime/vm/intermediate_language.cc:1770: case Token::kBIT_AND:
On 2016/06/23 17:17:57, Vyacheslav Egorov (Google) wrote:
> Please add a comment here about deoptimizations - why bitwise operations are
> covered and not anything else.

Done.

Powered by Google App Engine
This is Rietveld 408576698