| Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/ssa/builder.dart (revision 17141)
|
| +++ sdk/lib/_internal/compiler/implementation/ssa/builder.dart (working copy)
|
| @@ -3435,7 +3435,10 @@
|
| }
|
| compiler.ensure(!element.isGenerativeConstructor());
|
| if (element.isFunction()) {
|
| - if (tryInlineMethod(element, selector, node.arguments)) {
|
| + bool isIdenticalFunction = element == compiler.identicalFunction;
|
| +
|
| + if (!isIdenticalFunction
|
| + && tryInlineMethod(element, selector, node.arguments)) {
|
| return;
|
| }
|
|
|
| @@ -3452,7 +3455,7 @@
|
| return;
|
| }
|
|
|
| - if (identical(element, compiler.identicalFunction)) {
|
| + if (isIdenticalFunction) {
|
| pushWithPosition(new HIdentity(target, inputs[1], inputs[2]), node);
|
| return;
|
| }
|
|
|