Index: pkg/compiler/lib/src/resolution/registry.dart |
diff --git a/pkg/compiler/lib/src/resolution/registry.dart b/pkg/compiler/lib/src/resolution/registry.dart |
index 043c5cd56cefcd7ed06c8f1808209119dad78e3a..64089c0681d03d461483dff61c449a7f16645320 100644 |
--- a/pkg/compiler/lib/src/resolution/registry.dart |
+++ b/pkg/compiler/lib/src/resolution/registry.dart |
@@ -54,6 +54,11 @@ class EagerRegistry implements Registry { |
Iterable<Element> get otherDependencies => mapping.otherDependencies; |
@override |
+ void registerAssert(bool hasMessage) { |
+ // TODO(johnniwinther): Do something here? |
+ } |
+ |
+ @override |
void registerDependency(Element element) { |
mapping.registerDependency(element); |
} |
@@ -578,13 +583,8 @@ class ResolutionRegistry implements Registry { |
world.registerInstantiatedType(type, this); |
} |
- void registerAssert(Send node) { |
- mapping.setAssert(node); |
- backend.resolutionCallbacks.onAssert(node, this); |
- } |
- |
- bool isAssert(Send node) { |
- return mapping.isAssert(node); |
+ void registerAssert(bool hasMessage) { |
+ backend.resolutionCallbacks.onAssert(hasMessage, this); |
} |
void registerSendStructure(Send node, SendStructure sendStructure) { |