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

Unified Diff: pkg/compiler/lib/src/inferrer/node_tracer.dart

Issue 2826623002: Increase tracing limit (Closed)
Patch Set: defaultValue: Created 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/inferrer/node_tracer.dart
diff --git a/pkg/compiler/lib/src/inferrer/node_tracer.dart b/pkg/compiler/lib/src/inferrer/node_tracer.dart
index 013b53f7c62515235e4a8498d28f5f7cfdf430e4..64f5c2bfab16d41da6b200b6d1a9cd24670e3159 100644
--- a/pkg/compiler/lib/src/inferrer/node_tracer.dart
+++ b/pkg/compiler/lib/src/inferrer/node_tracer.dart
@@ -77,7 +77,8 @@ abstract class TracerVisitor implements TypeInformationVisitor {
final InferrerEngine inferrer;
final Compiler compiler;
- static const int MAX_ANALYSIS_COUNT = 16;
+ static const int MAX_ANALYSIS_COUNT =
+ const int.fromEnvironment('dart2js.tracing.limit', defaultValue: 32);
final Setlet<Element> analyzedElements = new Setlet<Element>();
TracerVisitor(this.tracedType, InferrerEngine inferrer)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698