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

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: Reintroduce assertHelper for asserts without messages. Created 5 years, 3 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/world.dart
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart
index b8925b3bbe61dd5abac70488952b7e2516edc109..720ad7c3e78f457aeb920a0e818ef1a98149430b 100644
--- a/pkg/compiler/lib/src/world.dart
+++ b/pkg/compiler/lib/src/world.dart
@@ -360,11 +360,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
This is Rietveld 408576698