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

Issue 11187046: Apply optimization after class-id propagation: instance calls without ICData are optimized by using… (Closed)

Created:
8 years, 2 months ago by srdjan
Modified:
8 years, 2 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Apply optimization after class-id propagation: instance calls without ICData are optimized by using input argument class-ids to create fake ICData. This reduces the number of deoptimizations. Committed: https://code.google.com/p/dart/source/detail?r=13798

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -2 lines) Patch
M runtime/vm/compiler.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 3 chunks +73 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
srdjan
8 years, 2 months ago (2012-10-17 23:27:29 UTC) #1
Florian Schneider
lgtm https://codereview.chromium.org/11187046/diff/8001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/11187046/diff/8001/runtime/vm/flow_graph_optimizer.cc#newcode91 runtime/vm/flow_graph_optimizer.cc:91: // Create new ICData, do not modify the ...
8 years, 2 months ago (2012-10-18 17:42:59 UTC) #2
srdjan
8 years, 2 months ago (2012-10-18 18:41:39 UTC) #3
https://codereview.chromium.org/11187046/diff/8001/runtime/vm/flow_graph_opti...
File runtime/vm/flow_graph_optimizer.cc (right):

https://codereview.chromium.org/11187046/diff/8001/runtime/vm/flow_graph_opti...
runtime/vm/flow_graph_optimizer.cc:91: // Create new ICData, do not modify the
one attached to instruction
On 2012/10/18 17:42:59, Florian Schneider wrote:
> [...] to _the_ instruction

Done.

Powered by Google App Engine
This is Rietveld 408576698