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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/tracer.dart

Issue 14416014: After a dynamic call, refine the receiver type by looking at the potential targets of that call. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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
Index: sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/ssa/tracer.dart (revision 22031)
+++ sdk/lib/_internal/compiler/implementation/ssa/tracer.dart (working copy)
@@ -83,10 +83,12 @@
int uses = instruction.usedBy.length;
String changes = instruction.hasSideEffects() ? '!' : ' ';
String depends = instruction.dependsOnSomething() ? '?' : '';
+ String usesGvn = instruction.useGvn() ? 'G' : '';
addIndent();
String temporaryId = stringifier.temporaryId(instruction);
String instructionString = stringifier.visit(instruction);
- add("$bci $uses $temporaryId $instructionString $changes $depends <|@\n");
+ add("$bci $uses $temporaryId $instructionString "
+ "$changes $depends $usesGvn <|@\n");
}
}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/optimize.dart ('k') | sdk/lib/_internal/compiler/implementation/ssa/types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698