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

Issue 14474007: Preserve aggregate count when creating unary checks ICData. (Closed)

Created:
7 years, 8 months ago by Vyacheslav Egorov (Google)
Modified:
7 years, 8 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Preserve aggregate count when creating unary checks ICData. We were reseting it to 1 which leads to worse inlining decisions for example for user defined binary operators. Inliner considered them all cold. R=srdjan@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=21964

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -4 lines) Patch
M runtime/vm/object.h View 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 5 chunks +25 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Vyacheslav Egorov (Google)
7 years, 8 months ago (2013-04-24 16:28:53 UTC) #1
srdjan
LGTM https://codereview.chromium.org/14474007/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/14474007/diff/1/runtime/vm/object.cc#newcode8347 runtime/vm/object.cc:8347: if (count == Smi::kMaxValue) { Why not: if ...
7 years, 8 months ago (2013-04-24 17:16:44 UTC) #2
Vyacheslav Egorov (Google)
Thanks for the review. Landing. https://codereview.chromium.org/14474007/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/14474007/diff/1/runtime/vm/object.cc#newcode8347 runtime/vm/object.cc:8347: if (count == Smi::kMaxValue) ...
7 years, 8 months ago (2013-04-24 17:50:32 UTC) #3
Vyacheslav Egorov (Google)
7 years, 8 months ago (2013-04-24 17:51:24 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r21964 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698