Index: pkg/compiler/lib/src/universe/universe.dart |
diff --git a/pkg/compiler/lib/src/universe/universe.dart b/pkg/compiler/lib/src/universe/universe.dart |
index 4530400e1cbaffc794effa09c6a3e22e636bd033..afdd48abbf517a6da1f65acd455c1593a918ef50 100644 |
--- a/pkg/compiler/lib/src/universe/universe.dart |
+++ b/pkg/compiler/lib/src/universe/universe.dart |
@@ -826,9 +826,6 @@ class Selector { |
bool get isOperator => kind == SelectorKind.OPERATOR; |
bool get isUnaryOperator => isOperator && argumentCount == 0; |
- /** Check whether this is a call to 'assert'. */ |
- bool get isAssert => isCall && identical(name, "assert"); |
- |
/** |
* The member name for invocation mirrors created from this selector. |
*/ |
@@ -882,8 +879,7 @@ class Selector { |
bool sameNameHack(Element element, World world) { |
// TODO(ngeoffray): Remove workaround checks. |
return element.isConstructor || |
- name == element.name || |
- name == 'assert' && world.isAssertMethod(element); |
+ name == element.name; |
} |
bool applies(Element element, World world) { |