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

Unified Diff: lib/compiler/implementation/ssa/builder.dart

Issue 10870035: Fix bug 4648: invalidate type parameter optimization on a method if a call with a selector that has… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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: lib/compiler/implementation/ssa/builder.dart
===================================================================
--- lib/compiler/implementation/ssa/builder.dart (revision 11214)
+++ lib/compiler/implementation/ssa/builder.dart (working copy)
@@ -2376,6 +2376,8 @@
compiler.cancel('Unimplemented non-matching static call', node: node);
}
HInvokeStatic instruction = new HInvokeStatic(inputs);
+ // TODO(ngeoffray): Only do this if knowing the return type is
+ // useful.
HType returnType =
builder.backend.optimisticReturnTypesWithRecompilationOnTypeChange(
work.element, element);

Powered by Google App Engine
This is Rietveld 408576698