| Index: sdk/lib/_internal/compiler/implementation/native_handler.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/native_handler.dart b/sdk/lib/_internal/compiler/implementation/native_handler.dart
|
| index 825069e70f3d51f76239e9295df207e321ad28eb..9ab2ed571eefd6cf1115374c013e09551bac57ef 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/native_handler.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/native_handler.dart
|
| @@ -823,11 +823,11 @@ void handleSsaNative(SsaBuilder builder, Expression nativeBody) {
|
|
|
| // Check which pattern this native method follows:
|
| // 1) foo() native;
|
| - // hasBody = false, isRedirecting = false
|
| + // hasBody = false
|
| // 2) foo() native "bar";
|
| - // hasBody = false, isRedirecting = true, no longer supported.
|
| + // No longer supported, this is now done with @JSName('foo') and case 1.
|
| // 3) foo() native "return 42";
|
| - // hasBody = true, isRedirecting = false
|
| + // hasBody = true
|
| bool hasBody = false;
|
| assert(element.isNative());
|
| String nativeMethodName = element.nativeName();
|
|
|