| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import '../closure.dart'; | 5 import '../closure.dart'; |
| 6 import '../common.dart'; | 6 import '../common.dart'; |
| 7 import '../elements/resolution_types.dart'; | 7 import '../elements/resolution_types.dart'; |
| 8 import '../elements/elements.dart'; | 8 import '../elements/elements.dart'; |
| 9 import '../elements/entities.dart'; | 9 import '../elements/entities.dart'; |
| 10 import '../io/source_information.dart'; | 10 import '../io/source_information.dart'; |
| 11 import '../js/js.dart' as js; | |
| 12 import '../js_backend/native_data.dart'; | 11 import '../js_backend/native_data.dart'; |
| 13 import '../js_backend/interceptor_data.dart'; | 12 import '../js_backend/interceptor_data.dart'; |
| 14 import '../native/native.dart' as native; | |
| 15 import '../tree/tree.dart' as ast; | 13 import '../tree/tree.dart' as ast; |
| 16 import '../types/types.dart'; | 14 import '../types/types.dart'; |
| 17 import '../world.dart' show ClosedWorld; | 15 import '../world.dart' show ClosedWorld; |
| 18 | 16 |
| 19 import 'graph_builder.dart'; | 17 import 'graph_builder.dart'; |
| 20 import 'nodes.dart'; | 18 import 'nodes.dart'; |
| 21 import 'types.dart'; | 19 import 'types.dart'; |
| 22 | 20 |
| 23 /// Keeps track of locals (including parameters and phis) when building. The | 21 /// Keeps track of locals (including parameters and phis) when building. The |
| 24 /// 'this' reference is treated as parameter and hence handled by this class, | 22 /// 'this' reference is treated as parameter and hence handled by this class, |
| (...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 final int hashCode = _nextHashCode = (_nextHashCode + 1).toUnsigned(30); | 672 final int hashCode = _nextHashCode = (_nextHashCode + 1).toUnsigned(30); |
| 675 static int _nextHashCode = 0; | 673 static int _nextHashCode = 0; |
| 676 | 674 |
| 677 SyntheticLocal(this.name, this.executableContext); | 675 SyntheticLocal(this.name, this.executableContext); |
| 678 | 676 |
| 679 @override | 677 @override |
| 680 MemberElement get memberContext => executableContext.memberContext; | 678 MemberElement get memberContext => executableContext.memberContext; |
| 681 | 679 |
| 682 toString() => 'SyntheticLocal($name)'; | 680 toString() => 'SyntheticLocal($name)'; |
| 683 } | 681 } |
| OLD | NEW |