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

Issue 11694003: In unoptimized code use call for instanceof instead of inlined checks. This allows us to collect ty… (Closed)

Created:
7 years, 12 months ago by srdjan
Modified:
7 years, 11 months ago
Reviewers:
regis, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

In unoptimized code use call for instanceof instead of inlined checks. This allows us to collect type feedback and to reduce the code size of unoptimized code. Next will be work on type tests as well. Committed: https://code.google.com/p/dart/source/detail?r=16589

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 6

Patch Set 7 : #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -27 lines) Patch
M runtime/lib/object.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +39 lines, -0 lines 0 comments Download
M runtime/lib/object_patch.dart View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -11 lines 0 comments Download
M runtime/vm/flow_graph_builder.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 3 4 5 6 7 8 9 2 chunks +58 lines, -15 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 2 3 4 5 6 7 8 9 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 3 chunks +29 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/stack_frame.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/stack_frame.cc View 1 2 3 4 5 6 7 8 9 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
srdjan
7 years, 12 months ago (2012-12-28 18:45:58 UTC) #1
regis
https://codereview.chromium.org/11694003/diff/2005/runtime/lib/object.cc File runtime/lib/object.cc (right): https://codereview.chromium.org/11694003/diff/2005/runtime/lib/object.cc#newcode68 runtime/lib/object.cc:68: // Instantiator at pos 1 is not used. Do ...
7 years, 12 months ago (2012-12-28 19:46:49 UTC) #2
srdjan
https://codereview.chromium.org/11694003/diff/2005/runtime/lib/object.cc File runtime/lib/object.cc (right): https://codereview.chromium.org/11694003/diff/2005/runtime/lib/object.cc#newcode68 runtime/lib/object.cc:68: // Instantiator at pos 1 is not used. On ...
7 years, 11 months ago (2013-01-02 20:38:46 UTC) #3
regis
LGTM https://codereview.chromium.org/11694003/diff/25001/runtime/lib/object.cc File runtime/lib/object.cc (right): https://codereview.chromium.org/11694003/diff/25001/runtime/lib/object.cc#newcode73 runtime/lib/object.cc:73: // the used to populate the subtype cache. ...
7 years, 11 months ago (2013-01-02 21:11:52 UTC) #4
srdjan
7 years, 11 months ago (2013-01-02 21:47:12 UTC) #5
https://codereview.chromium.org/11694003/diff/25001/runtime/lib/object.cc
File runtime/lib/object.cc (right):

https://codereview.chromium.org/11694003/diff/25001/runtime/lib/object.cc#new...
runtime/lib/object.cc:73: // the used to populate the subtype cache.
On 2013/01/02 21:11:52, regis wrote:
> remove "the".

Done.

Powered by Google App Engine
This is Rietveld 408576698