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

Unified Diff: pkg/compiler/lib/src/js_backend/runtime_types.dart

Issue 1803303002: Move all flags to CompilerOptions (first step to stop passing the compiler to (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
Index: pkg/compiler/lib/src/js_backend/runtime_types.dart
diff --git a/pkg/compiler/lib/src/js_backend/runtime_types.dart b/pkg/compiler/lib/src/js_backend/runtime_types.dart
index bcede4565de135793adbececc67508fcfbb8e499..29aade61ee46f98c0a796572eedc472e3ca51d5e 100644
--- a/pkg/compiler/lib/src/js_backend/runtime_types.dart
+++ b/pkg/compiler/lib/src/js_backend/runtime_types.dart
@@ -300,7 +300,7 @@ class _RuntimeTypes implements RuntimeTypes {
}
}
});
- if (compiler.enableTypeAssertions) {
+ if (compiler.options.enableTypeAssertions) {
void analyzeMethod(TypedElement method) {
DartType memberType = method.type;
ClassElement contextClass = Types.getClassContext(memberType);

Powered by Google App Engine
This is Rietveld 408576698