| Index: lib/compiler/implementation/ssa/builder.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/ssa/builder.dart (revision 8424)
|
| +++ lib/compiler/implementation/ssa/builder.dart (working copy)
|
| @@ -2372,6 +2372,10 @@
|
| visitStaticSend(Send node) {
|
| Selector selector = elements.getSelector(node);
|
| Element element = elements[node];
|
| + if (element === compiler.assertMethod && !compiler.enableUserAssertions) {
|
| + stack.add(graph.addConstantNull());
|
| + return;
|
| + }
|
| compiler.ensure(element.kind !== ElementKind.GENERATIVE_CONSTRUCTOR);
|
| HInstruction target = new HStatic(element);
|
| add(target);
|
|
|