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

Issue 2899283002: Prefer single CID test for 'is' operator (Closed)

Created:
3 years, 7 months ago by erikcorry
Modified:
3 years, 6 months ago
Reviewers:
kustermann
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Prefer single CID test for 'is' operator Before we try anything more complex, check whether there is only one class that satisfies an 'is' check. If so, we can just check for that class id and deopt when new classes are defined. This change merely reverses the order of existing code. R=kustermann@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/56e93fa2b0e1256addfe396858c572c216f28ab5

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -14 lines) Patch
M runtime/vm/jit_optimizer.cc View 2 chunks +15 lines, -14 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
erikcorry
3 years, 7 months ago (2017-05-24 14:16:32 UTC) #1
kustermann
lgtm
3 years, 7 months ago (2017-05-24 14:39:57 UTC) #2
erikcorry
3 years, 6 months ago (2017-05-29 08:02:19 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
56e93fa2b0e1256addfe396858c572c216f28ab5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698