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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/inferrer/container_tracer.dart

Issue 60293003: Version 0.8.10.5 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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: dart/sdk/lib/_internal/compiler/implementation/inferrer/container_tracer.dart
===================================================================
--- dart/sdk/lib/_internal/compiler/implementation/inferrer/container_tracer.dart (revision 29908)
+++ dart/sdk/lib/_internal/compiler/implementation/inferrer/container_tracer.dart (working copy)
@@ -200,7 +200,13 @@
visitPhiElementTypeInformation(PhiElementTypeInformation info) {}
visitElementInContainerTypeInformation(
ElementInContainerTypeInformation info) {}
- visitContainerTypeInformation(ContainerTypeInformation info) {}
+
+ visitContainerTypeInformation(ContainerTypeInformation info) {
+ if (container != info) {
+ bailout('Stored in a container');
+ }
+ }
+
visitConcreteTypeInformation(ConcreteTypeInformation info) {}
visitClosureCallSiteTypeInformation(ClosureCallSiteTypeInformation info) {

Powered by Google App Engine
This is Rietveld 408576698