Index: sdk/lib/_internal/compiler/implementation/dart2js.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/dart2js.dart b/sdk/lib/_internal/compiler/implementation/dart2js.dart |
index 5c631671d4acb50b1437d966abea505788bdf411..6cfe08ea480aea45b22b7b8fe7b1967d9fdb27d3 100644 |
--- a/sdk/lib/_internal/compiler/implementation/dart2js.dart |
+++ b/sdk/lib/_internal/compiler/implementation/dart2js.dart |
@@ -163,6 +163,7 @@ void compile(List<String> argv) { |
new OptionHandler(r'--help|/\?|/h', (_) => wantHelp = true), |
new OptionHandler('--package-root=.+|-p.+', setPackageRoot), |
new OptionHandler('--disallow-unsafe-eval', passThrough), |
+ new OptionHandler('--enable-native-live-type-analysis', passThrough), |
// The following two options must come last. |
new OptionHandler('-.*', (String argument) { |
helpAndFail('Error: Unknown option "$argument".'); |
@@ -402,6 +403,10 @@ be removed in a future version: |
--enable-concrete-type-inference |
Enable experimental concrete type inference. |
+ --enable-native-live-type-analysis |
+ Remove unused native types from dart:html and related libraries. This is |
+ expected to become the default behavior. |
+ |
--disallow-unsafe-eval |
Disables dynamic generation of code in the generated output. This is |
necessary to satisfy CSP restrictions (see http://www.w3.org/TR/CSP/). |