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

Issue 10910003: Only store IC data with instructions that collect type feedback. (Closed)

Created:
8 years, 3 months ago by Florian Schneider
Modified:
8 years, 3 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Only store IC data with instructions that collect type feedback. Currently only three instructions collect IC data: InstanceCall, EqualityOp and RelationalOp. Specialized instructions use the IC data of the original instance call or convert the original IC data for their purpose. This CL eliminates ic_data_ member from Computation and avoids the explicit setting of ic_data in the flow graph optimizer. Committed: https://code.google.com/p/dart/source/detail?r=11756

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -72 lines) Patch
M runtime/vm/flow_graph_optimizer.cc View 1 9 chunks +5 lines, -11 lines 0 comments Download
M runtime/vm/il_printer.cc View 1 6 chunks +11 lines, -11 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 25 chunks +58 lines, -28 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 chunks +7 lines, -6 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 3 chunks +7 lines, -8 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 3 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Florian Schneider
8 years, 3 months ago (2012-08-30 11:32:20 UTC) #1
srdjan
https://chromiumcodereview.appspot.com/10910003/diff/1/runtime/vm/intermediate_language.h File runtime/vm/intermediate_language.h (right): https://chromiumcodereview.appspot.com/10910003/diff/1/runtime/vm/intermediate_language.h#newcode134 runtime/vm/intermediate_language.h:134: deopt_id_ = isolate->GetNextDeoptId(); No need for variable isolate. https://chromiumcodereview.appspot.com/10910003/diff/1/runtime/vm/intermediate_language.h#newcode619 ...
8 years, 3 months ago (2012-08-30 18:53:21 UTC) #2
Florian Schneider
https://chromiumcodereview.appspot.com/10910003/diff/1/runtime/vm/intermediate_language.h File runtime/vm/intermediate_language.h (right): https://chromiumcodereview.appspot.com/10910003/diff/1/runtime/vm/intermediate_language.h#newcode134 runtime/vm/intermediate_language.h:134: deopt_id_ = isolate->GetNextDeoptId(); On 2012/08/30 18:53:21, srdjan wrote: > ...
8 years, 3 months ago (2012-09-03 10:33:29 UTC) #3
Vyacheslav Egorov (Google)
8 years, 3 months ago (2012-09-03 11:14:09 UTC) #4
LGTM

though I find name unary_checks a bit confusing.

Powered by Google App Engine
This is Rietveld 408576698