| Index: pkg/compiler/lib/src/native/ssa.dart
|
| diff --git a/pkg/compiler/lib/src/native/ssa.dart b/pkg/compiler/lib/src/native/ssa.dart
|
| index 1dfa53616256d96f4127c221e2fb30190e2455ba..b51c64d3bb477230981958953f271bb8ead18334 100644
|
| --- a/pkg/compiler/lib/src/native/ssa.dart
|
| +++ b/pkg/compiler/lib/src/native/ssa.dart
|
| @@ -35,8 +35,8 @@ void handleSsaNative(SsaBuilder builder, Expression nativeBody) {
|
| // 3) foo() native "return 42";
|
| // hasBody = true
|
| bool hasBody = false;
|
| - assert(element.isNative);
|
| - String nativeMethodName = element.fixedBackendName;
|
| + assert(backend.isNative(element));
|
| + String nativeMethodName = backend.getFixedBackendName(element);
|
| if (nativeBody != null) {
|
| LiteralString jsCode = nativeBody.asLiteralString();
|
| String str = jsCode.dartString.slowToString();
|
|
|