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

Issue 700843005: Improve type propagation for AssertAssignable. (Closed)

Created:
6 years, 1 month ago by Florian Schneider
Modified:
6 years, 1 month ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Improve type propagation for AssertAssignable. Updating the type of the incoming definition during type propagation like we do for CheckClass, CheckSmi, etc. This helps if the original definition is used instead of the redefined value. We also can get rid of storing back every local variable at function start in unoptimized code in checked mode. R=vegorov@google.com Committed: https://code.google.com/p/dart/source/detail?r=41638

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -10 lines) Patch
M runtime/vm/flow_graph_builder.cc View 1 chunk +4 lines, -10 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Florian Schneider
6 years, 1 month ago (2014-11-10 14:24:04 UTC) #2
Vyacheslav Egorov (Google)
lgtm ove https://codereview.chromium.org/700843005/diff/20001/runtime/vm/flow_graph_type_propagator.cc File runtime/vm/flow_graph_type_propagator.cc (right): https://codereview.chromium.org/700843005/diff/20001/runtime/vm/flow_graph_type_propagator.cc#newcode779 runtime/vm/flow_graph_type_propagator.cc:779: void FlowGraphTypePropagator::VisitAssertAssignable( Move it together with other ...
6 years, 1 month ago (2014-11-10 15:52:01 UTC) #3
Florian Schneider
https://codereview.chromium.org/700843005/diff/20001/runtime/vm/flow_graph_type_propagator.cc File runtime/vm/flow_graph_type_propagator.cc (right): https://codereview.chromium.org/700843005/diff/20001/runtime/vm/flow_graph_type_propagator.cc#newcode779 runtime/vm/flow_graph_type_propagator.cc:779: void FlowGraphTypePropagator::VisitAssertAssignable( On 2014/11/10 15:52:01, Vyacheslav Egorov (Google) wrote: ...
6 years, 1 month ago (2014-11-10 16:18:46 UTC) #4
Florian Schneider
6 years, 1 month ago (2014-11-10 16:25:54 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as r41638 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698