Chromium Code Reviews

Unified Diff: pkg/compiler/lib/src/world.dart

Issue 1325843003: Add optional message to assert in Dart2js. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address comments Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: pkg/compiler/lib/src/world.dart
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart
index e8c9b13752317ee0917a6c77a074448056030764..4a1ddb34b0eacc72e9e5b0e3d572729f66f19e89 100644
--- a/pkg/compiler/lib/src/world.dart
+++ b/pkg/compiler/lib/src/world.dart
@@ -353,11 +353,6 @@ class World implements ClassWorld {
bool get isClosed => compiler.phase > Compiler.PHASE_RESOLVING;
// Used by selectors.
- bool isAssertMethod(Element element) {
- return compiler.backend.isAssertMethod(element);
- }
-
- // Used by selectors.
bool isForeign(Element element) {
return compiler.backend.isForeign(element);
}

Powered by Google App Engine