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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 194773002: Add aliasing disambiguation for typed data lists. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
===================================================================
--- runtime/vm/flow_graph_optimizer.cc (revision 33523)
+++ runtime/vm/flow_graph_optimizer.cc (working copy)
@@ -5592,7 +5592,7 @@
ASSERT(alloc->IsAllocateObject() ||
alloc->IsCreateArray() ||
(alloc->IsStaticCall() &&
- alloc->AsStaticCall()->is_known_list_constructor()));
+ alloc->AsStaticCall()->IsRecognizedFactory()));
if (alloc->Identity() == kIdentityUnknown) {
bool escapes = false;
for (Value* use = alloc->input_use_list();
@@ -5679,7 +5679,7 @@
if ((defn->IsAllocateObject() ||
defn->IsCreateArray() ||
(defn->IsStaticCall() &&
- defn->AsStaticCall()->is_known_list_constructor())) &&
+ defn->AsStaticCall()->IsRecognizedFactory())) &&
!CanBeAliased(defn)) {
instance_id = defn->ssa_temp_index();
ASSERT(instance_id != kAnyInstance);
@@ -5700,7 +5700,7 @@
ASSERT(defn != NULL);
if ((defn->IsCreateArray() ||
(defn->IsStaticCall() &&
- defn->AsStaticCall()->is_known_list_constructor())) &&
+ defn->AsStaticCall()->IsRecognizedFactory())) &&
!CanBeAliased(defn)) {
instance_id = defn->ssa_temp_index();
ASSERT(instance_id != kAnyInstance);
@@ -5715,7 +5715,7 @@
ASSERT(defn != NULL);
if ((defn->IsCreateArray() ||
(defn->IsStaticCall() &&
- defn->AsStaticCall()->is_known_list_constructor())) &&
+ defn->AsStaticCall()->IsRecognizedFactory())) &&
!CanBeAliased(defn)) {
instance_id = defn->ssa_temp_index();
ASSERT(instance_id != kAnyInstance);
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698