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

Issue 740703002: Don't store redundant compile-type at values. (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

Don't store redundant compile-type at values. If the computed reaching type is the same as the definition's type, there is no need to store it. Don't cache the type of the definition at the uses if the reaching type is NULL. R=vegorov@google.com Committed: https://code.google.com/p/dart/source/detail?r=41843

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M runtime/vm/compiler.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 5 (1 generated)
Florian Schneider
6 years, 1 month ago (2014-11-19 13:57:26 UTC) #2
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/740703002/diff/1/runtime/vm/flow_graph_type_propagator.cc File runtime/vm/flow_graph_type_propagator.cc (right): https://codereview.chromium.org/740703002/diff/1/runtime/vm/flow_graph_type_propagator.cc#newcode245 runtime/vm/flow_graph_type_propagator.cc:245: value->SetReachingType(type); I suggest: if (type == value->definition()->Type()) { ...
6 years, 1 month ago (2014-11-19 14:05:20 UTC) #3
Florian Schneider
I had to add type propagation after allocation sinking to compute types for phis created ...
6 years, 1 month ago (2014-11-19 16:40:53 UTC) #4
Florian Schneider
6 years, 1 month ago (2014-11-20 11:16:33 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as r41843 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698