| Index: lib/compiler/implementation/universe/universe.dart
|
| diff --git a/lib/compiler/implementation/universe/universe.dart b/lib/compiler/implementation/universe/universe.dart
|
| index 3baa353b64a6cb4590542ab0b1d7df70428119af..ff7f052bdc20366480b5da1ecee59989c66cca94 100644
|
| --- a/lib/compiler/implementation/universe/universe.dart
|
| +++ b/lib/compiler/implementation/universe/universe.dart
|
| @@ -201,13 +201,8 @@ class Selector {
|
| bool isUnaryOperator() => isOperator() && argumentCount == 0;
|
| bool isBinaryOperator() => isOperator() && argumentCount == 1;
|
|
|
| - /** Check whether this is a call to 'assert' with one positional parameter. */
|
| - bool isAssertSyntax() {
|
| - return (isCall() &&
|
| - name.stringValue === "assert" &&
|
| - argumentCount == 1 &&
|
| - namedArgumentCount == 0);
|
| - }
|
| + /** Check whether this is a call to 'assert'. */
|
| + bool isAssert() => isCall() && name.stringValue === "assert";
|
|
|
| int hashCode() => argumentCount + 1000 * namedArguments.length;
|
| int get namedArgumentCount => namedArguments.length;
|
|
|