| Index: pkg/compiler/lib/src/ssa/codegen.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
|
| index 1edaf6e07fe014e2e33f4d035a03c171f7fe00cf..e8c11741dbecd437f2b0f5d36b21153109d0d9ea 100644
|
| --- a/pkg/compiler/lib/src/ssa/codegen.dart
|
| +++ b/pkg/compiler/lib/src/ssa/codegen.dart
|
| @@ -1548,12 +1548,12 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| // Split returns a List, so we make sure the backend knows the
|
| // list class is instantiated.
|
| registry.registerInstantiatedClass(compiler.listClass);
|
| - } else if (target.isNative && target.isFunction
|
| + } else if (backend.isNative(target) && target.isFunction
|
| && !node.isInterceptedCall) {
|
| // A direct (i.e. non-interceptor) native call is the result of
|
| // optimization. The optimization ensures any type checks or
|
| // conversions have been satisified.
|
| - methodName = target.fixedBackendName;
|
| + methodName = backend.getFixedBackendName(target);
|
| }
|
| }
|
|
|
|
|