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

Issue 2418073002: DBC: Fix CheckClass bug. Add some intrinsics (Closed)

Created:
4 years, 2 months ago by zra
Modified:
4 years, 2 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

DBC: Fix CheckClass bug. Add some intrinsics Flutter layout benchmark 8.5k us -> 6k us. R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/c8970d05248dc789c8422491451349d2c5437291

Patch Set 1 #

Patch Set 2 : more intrinsics #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -4 lines) Patch
M runtime/vm/simulator_dbc.cc View 1 3 chunks +179 lines, -4 lines 2 comments Download

Messages

Total messages: 7 (3 generated)
zra
4 years, 2 months ago (2016-10-17 14:46:56 UTC) #3
Florian Schneider
lgtm https://codereview.chromium.org/2418073002/diff/20001/runtime/vm/simulator_dbc.cc File runtime/vm/simulator_dbc.cc (right): https://codereview.chromium.org/2418073002/diff/20001/runtime/vm/simulator_dbc.cc#newcode283 runtime/vm/simulator_dbc.cc:283: if (!obj2->IsHeapObject()) { I'd rather use obj2->IsSmi() for ...
4 years, 2 months ago (2016-10-17 16:58:54 UTC) #4
zra
Committed patchset #2 (id:20001) manually as c8970d05248dc789c8422491451349d2c5437291 (presubmit successful).
4 years, 2 months ago (2016-10-17 17:21:01 UTC) #6
zra
4 years, 2 months ago (2016-10-17 17:22:51 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/2418073002/diff/20001/runtime/vm/simulator_db...
File runtime/vm/simulator_dbc.cc (right):

https://codereview.chromium.org/2418073002/diff/20001/runtime/vm/simulator_db...
runtime/vm/simulator_dbc.cc:283: if (!obj2->IsHeapObject()) {
On 2016/10/17 16:58:54, Florian Schneider wrote:
> I'd rather use obj2->IsSmi() for readability avoiding the negation.

IsSmi() calls GetClassId() which calls ptr() which only makes sense on a heap
object =(

Powered by Google App Engine
This is Rietveld 408576698