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

Issue 10830339: Propagate class ids using existing type propagation framework. (Closed)

Created:
8 years, 4 months ago by srdjan
Modified:
8 years, 4 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Propagate class ids using existing type propagation framework. Committed: https://code.google.com/p/dart/source/detail?r=10849

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 12

Patch Set 6 : #

Patch Set 7 : #

Total comments: 6

Patch Set 8 : #

Patch Set 9 : #

Total comments: 1

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -1 line) Patch
M runtime/vm/flow_graph_optimizer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +39 lines, -0 lines 0 comments Download
M runtime/vm/il_printer.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 6 7 8 9 10 15 chunks +31 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +38 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
srdjan
8 years, 4 months ago (2012-08-15 21:29:41 UTC) #1
regis
https://chromiumcodereview.appspot.com/10830339/diff/6007/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://chromiumcodereview.appspot.com/10830339/diff/6007/runtime/vm/flow_graph_optimizer.cc#newcode695 runtime/vm/flow_graph_optimizer.cc:695: if (phi->propagated_cid() == kDynamicCid) { So far, I have ...
8 years, 4 months ago (2012-08-15 22:46:54 UTC) #2
srdjan
All points addressed. PTAL https://chromiumcodereview.appspot.com/10830339/diff/6007/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://chromiumcodereview.appspot.com/10830339/diff/6007/runtime/vm/flow_graph_optimizer.cc#newcode695 runtime/vm/flow_graph_optimizer.cc:695: if (phi->propagated_cid() == kDynamicCid) { ...
8 years, 4 months ago (2012-08-16 00:34:46 UTC) #3
srdjan
Added missing header file and corrected propagated cid of ParameterInstr.
8 years, 4 months ago (2012-08-16 01:04:10 UTC) #4
regis
It looks like you are still working on this change. Here are some comments. I'll ...
8 years, 4 months ago (2012-08-16 01:07:44 UTC) #5
srdjan
PTAL https://chromiumcodereview.appspot.com/10830339/diff/13002/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://chromiumcodereview.appspot.com/10830339/diff/13002/runtime/vm/flow_graph_optimizer.cc#newcode666 runtime/vm/flow_graph_optimizer.cc:666: if (!bind->has_propagated_cid()) bind->SetPropagatedCid(kDynamicCid); On 2012/08/16 01:07:44, regis wrote: ...
8 years, 4 months ago (2012-08-16 01:21:28 UTC) #6
srdjan
https://chromiumcodereview.appspot.com/10830339/diff/13005/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://chromiumcodereview.appspot.com/10830339/diff/13005/runtime/vm/flow_graph_optimizer.cc#newcode750 runtime/vm/flow_graph_optimizer.cc:750: param->SetPropagatedCid(Class::Handle(param_type.type_class()).id()); This is incorrect (inexact information), removing it. For ...
8 years, 4 months ago (2012-08-16 01:32:31 UTC) #7
regis
LGTM https://chromiumcodereview.appspot.com/10830339/diff/2009/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://chromiumcodereview.appspot.com/10830339/diff/2009/runtime/vm/intermediate_language.cc#newcode325 runtime/vm/intermediate_language.cc:325: ASSERT(cid != 1); What does 1 mean?
8 years, 4 months ago (2012-08-16 16:02:47 UTC) #8
srdjan
8 years, 4 months ago (2012-08-16 18:00:56 UTC) #9
https://chromiumcodereview.appspot.com/10830339/diff/2009/runtime/vm/intermed...
File runtime/vm/intermediate_language.cc (right):

https://chromiumcodereview.appspot.com/10830339/diff/2009/runtime/vm/intermed...
runtime/vm/intermediate_language.cc:325: ASSERT(cid != 1);
On 2012/08/16 16:02:47, regis wrote:
> What does 1 mean?

Debugging remainder. Thanks for catching it

Powered by Google App Engine
This is Rietveld 408576698