| Index: pkg/compiler/lib/src/ssa/locals_handler.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/locals_handler.dart b/pkg/compiler/lib/src/ssa/locals_handler.dart
|
| index 3e97e0a824f22960daa27dcad9119b9622b17ea3..618c78bbbe3e9d55fdd04bb00625007260ea92e7 100644
|
| --- a/pkg/compiler/lib/src/ssa/locals_handler.dart
|
| +++ b/pkg/compiler/lib/src/ssa/locals_handler.dart
|
| @@ -251,10 +251,11 @@ class LocalsHandler {
|
| // and passed to the generative constructor factory function as a parameter.
|
| // Instead of allocating and initializing the object, the constructor
|
| // 'upgrades' the native subclass object by initializing the Dart fields.
|
| - bool isNativeUpgradeFactory =
|
| - element.isGenerativeConstructor && backend.isNativeOrExtendsNative(cls);
|
| - if (backend.isInterceptedMethod(element)) {
|
| - bool isInterceptorClass = backend.isInterceptorClass(cls.declaration);
|
| + bool isNativeUpgradeFactory = element.isGenerativeConstructor &&
|
| + backend.nativeData.isNativeOrExtendsNative(cls);
|
| + if (backend.interceptorData.isInterceptedMethod(element)) {
|
| + bool isInterceptorClass =
|
| + backend.interceptorData.isInterceptorClass(cls.declaration);
|
| String name = isInterceptorClass ? 'receiver' : '_';
|
| SyntheticLocal parameter = new SyntheticLocal(name, executableContext);
|
| HParameterValue value = new HParameterValue(parameter, getTypeOfThis());
|
|
|