| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 library simple_types_inferrer; | 5 library simple_types_inferrer; |
| 6 | 6 |
| 7 import '../closure.dart' show ClosureClassMap; | 7 import '../closure.dart' show ClosureClassMap; |
| 8 import '../common.dart'; | 8 import '../common.dart'; |
| 9 import '../common/names.dart' show Identifiers, Selectors; | 9 import '../common/names.dart' show Identifiers, Selectors; |
| 10 import '../compiler.dart' show Compiler; | 10 import '../compiler.dart' show Compiler; |
| 11 import '../constants/constant_system.dart'; | 11 import '../constants/constant_system.dart'; |
| 12 import '../constants/expressions.dart'; | 12 import '../constants/expressions.dart'; |
| 13 import '../constants/values.dart' show ConstantValue, IntConstantValue; | 13 import '../constants/values.dart' show ConstantValue, IntConstantValue; |
| 14 import '../elements/elements.dart'; |
| 15 import '../elements/entities.dart'; |
| 16 import '../elements/operators.dart' as op; |
| 14 import '../elements/resolution_types.dart' | 17 import '../elements/resolution_types.dart' |
| 15 show ResolutionDartType, ResolutionInterfaceType; | 18 show ResolutionDartType, ResolutionInterfaceType; |
| 16 import '../elements/elements.dart'; | |
| 17 import '../elements/entities.dart'; | |
| 18 import '../js_backend/backend.dart' show JavaScriptBackend; | 19 import '../js_backend/backend.dart' show JavaScriptBackend; |
| 19 import '../native/native.dart' as native; | 20 import '../native/native.dart' as native; |
| 20 import '../resolution/operators.dart' as op; | |
| 21 import '../resolution/semantic_visitor.dart'; | 21 import '../resolution/semantic_visitor.dart'; |
| 22 import '../resolution/tree_elements.dart' show TreeElements; | 22 import '../resolution/tree_elements.dart' show TreeElements; |
| 23 import '../tree/tree.dart' as ast; | 23 import '../tree/tree.dart' as ast; |
| 24 import '../types/constants.dart' show computeTypeMask; | 24 import '../types/constants.dart' show computeTypeMask; |
| 25 import '../types/types.dart' show TypeMask, GlobalTypeInferenceElementData; | 25 import '../types/types.dart' show TypeMask, GlobalTypeInferenceElementData; |
| 26 import '../universe/call_structure.dart' show CallStructure; | 26 import '../universe/call_structure.dart' show CallStructure; |
| 27 import '../universe/selector.dart' show Selector; | 27 import '../universe/selector.dart' show Selector; |
| 28 import '../universe/side_effects.dart' show SideEffects; | 28 import '../universe/side_effects.dart' show SideEffects; |
| 29 import '../util/util.dart' show Link, Setlet; | 29 import '../util/util.dart' show Link, Setlet; |
| 30 import '../world.dart' show ClosedWorld; | 30 import '../world.dart' show ClosedWorld; |
| (...skipping 2917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2948 Selector moveNextSelector = Selectors.moveNext; | 2948 Selector moveNextSelector = Selectors.moveNext; |
| 2949 TypeMask moveNextMask = inTreeData.typeOfIteratorMoveNext(node); | 2949 TypeMask moveNextMask = inTreeData.typeOfIteratorMoveNext(node); |
| 2950 | 2950 |
| 2951 TypeInformation iteratorType = handleDynamicSend(node, iteratorSelector, | 2951 TypeInformation iteratorType = handleDynamicSend(node, iteratorSelector, |
| 2952 iteratorMask, expressionType, new ArgumentsTypes.empty()); | 2952 iteratorMask, expressionType, new ArgumentsTypes.empty()); |
| 2953 | 2953 |
| 2954 return handleForInLoop(node, iteratorType, currentSelector, currentMask, | 2954 return handleForInLoop(node, iteratorType, currentSelector, currentMask, |
| 2955 moveNextSelector, moveNextMask); | 2955 moveNextSelector, moveNextMask); |
| 2956 } | 2956 } |
| 2957 } | 2957 } |
| OLD | NEW |