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

Issue 1091353002: Reland r45243. (Closed)

Created:
5 years, 8 months ago by Vyacheslav Egorov (Google)
Modified:
5 years, 8 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Reland r45243. Type and constant propagator should guard against mutable class ids. Constant strings can be externalized so we can't fold away class checks against them. Prevent CP from removing redefinitions of constants with mutable cids. BUG=

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -10 lines) Patch
M runtime/vm/constant_propagator.cc View 2 chunks +16 lines, -3 lines 1 comment Download
M runtime/vm/dart_api_impl_test.cc View 1 chunk +113 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 5 chunks +16 lines, -6 lines 0 comments Download
A tests/language/vm/licm_constant_redefinition_vm_test.dart View 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
Vyacheslav Egorov (Google)
PTAL Change from the original is in the ConstantPropagator::VisitRedefinition.
5 years, 8 months ago (2015-04-17 19:54:07 UTC) #2
Florian Schneider
lgtm https://codereview.chromium.org/1091353002/diff/1/runtime/vm/constant_propagator.cc File runtime/vm/constant_propagator.cc (right): https://codereview.chromium.org/1091353002/diff/1/runtime/vm/constant_propagator.cc#newcode326 runtime/vm/constant_propagator.cc:326: CheckClassInstr::IsImmutableClassId(value.GetClassId())) { Works for now. Could we use ...
5 years, 8 months ago (2015-04-20 09:33:32 UTC) #3
Vyacheslav Egorov (Google)
5 years, 8 months ago (2015-04-20 11:02:49 UTC) #4
Landed as https://code.google.com/p/dart/source/detail?r=45275

git cl failed to close this CL automatically

Powered by Google App Engine
This is Rietveld 408576698