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

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

Issue 132063005: Add option to disable IR. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 | dart/site/try/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart b/dart/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart
index 925841e496afc0f008343cf811bdfe2a33a08073..94b0810acca782a55f1b6fec76196b64467fa77d 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart
@@ -95,7 +95,7 @@ class IrBuilderTask extends CompilerTask {
compiler.enableConcreteTypeInference) {
return false;
}
- return true;
+ return const bool.fromEnvironment('enable_ir', defaultValue: true);
}
bool canBuild(Element element) {
« no previous file with comments | « no previous file | dart/site/try/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698