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

Issue 12304009: Trust declared type of the receiver to compute its initial compile type. (Closed)

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

Description

Trust declared type of the receiver to compute its initial compile type. Fix a bug in the ToNullableCid which was leaving cid_ uninitialized when class has subclasses. R=fschneider@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=18641

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -8 lines) Patch
M runtime/vm/flow_graph_builder.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 2 chunks +21 lines, -4 lines 2 comments Download
M runtime/vm/intermediate_language.h View 3 chunks +9 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Vyacheslav Egorov (Google)
7 years, 10 months ago (2013-02-18 15:29:31 UTC) #1
Florian Schneider
LGTM. https://codereview.chromium.org/12304009/diff/1/runtime/vm/flow_graph_type_propagator.cc File runtime/vm/flow_graph_type_propagator.cc (right): https://codereview.chromium.org/12304009/diff/1/runtime/vm/flow_graph_type_propagator.cc#newcode463 runtime/vm/flow_graph_type_propagator.cc:463: // for example reciever and construction phase. s/reciever/receiver/
7 years, 10 months ago (2013-02-18 15:44:39 UTC) #2
srdjan
7 years, 10 months ago (2013-02-19 16:41:59 UTC) #3
Message was sent while issue was closed.
DBC

https://codereview.chromium.org/12304009/diff/1/runtime/vm/flow_graph_type_pr...
File runtime/vm/flow_graph_type_propagator.cc (right):

https://codereview.chromium.org/12304009/diff/1/runtime/vm/flow_graph_type_pr...
runtime/vm/flow_graph_type_propagator.cc:463: // for example reciever and
construction phase.
How does this work: you can trust the receiver type only if has not been
subclassed.  Please elaborate in comment.

Powered by Google App Engine
This is Rietveld 408576698