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

Issue 2956653002: VM-codegen: For polymorphic methods don't expand Cids at call sites (Closed)

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

Description

VM-codegen: For polymorphic methods don't expand Cids at call sites When dispatching polymorphic calls we try to recognize the case where adjacent classes have the same method, so that we can group the classes in the dispatch. That fails for polymorphic methods, which are pretending to be the same method, but actually do a class test on the receiver internally. In this case, we should not expand the classes, because it messes up some other inlining optimizations. R=vegorov@google.com BUG=https://github.com/dart-lang/sdk/issues/29892 Committed: https://github.com/dart-lang/sdk/commit/b683e47c1ad83ba8bb73a4978d32508d63662649

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment and another guard #

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

Messages

Total messages: 5 (1 generated)
erikcorry
3 years, 6 months ago (2017-06-23 14:18:26 UTC) #1
Vyacheslav Egorov (Google)
LGTM with a comment addressed. I believe that we need a scalable strategy for handling ...
3 years, 6 months ago (2017-06-23 16:09:46 UTC) #2
erikcorry
https://codereview.chromium.org/2956653002/diff/1/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/2956653002/diff/1/runtime/vm/intermediate_language.cc#newcode2978 runtime/vm/intermediate_language.cc:2978: targets.MergeIntoRanges(); On 2017/06/23 16:09:46, Vyacheslav Egorov (Google) wrote: > ...
3 years, 6 months ago (2017-06-23 17:10:23 UTC) #3
erikcorry
3 years, 6 months ago (2017-06-24 11:37:09 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
b683e47c1ad83ba8bb73a4978d32508d63662649 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698