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

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

Issue 11348297: Widen big concrete types to dynamic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cache constants. Created 8 years 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/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index 1de80f07f742a4ee91d05cf2849b3efa9db58655..3ae214caeeabcc6d0ac1a797181789109baae12f 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -115,6 +115,7 @@ abstract class Compiler implements DiagnosticListener {
final bool enableTypeAssertions;
final bool enableUserAssertions;
final bool enableConcreteTypeInference;
+ final int maxConcreteTypeSize;
ahe 2012/12/20 10:18:22 Please document this variable.
polux 2012/12/20 10:31:50 Done.
final bool analyzeAll;
final bool enableNativeLiveTypeAnalysis;
final bool rejectDeprecatedFeatures;
@@ -233,6 +234,7 @@ abstract class Compiler implements DiagnosticListener {
this.enableTypeAssertions: false,
this.enableUserAssertions: false,
this.enableConcreteTypeInference: false,
+ this.maxConcreteTypeSize: 5,
this.enableMinification: false,
this.enableNativeLiveTypeAnalysis: false,
bool emitJavaScript: true,

Powered by Google App Engine
This is Rietveld 408576698