Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: pkg/compiler/lib/src/inferrer/builder.dart

Issue 2667473003: Move Entity and Local to entities.dart (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/enqueue.dart ('k') | pkg/compiler/lib/src/inferrer/inferrer_engine.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/resolution_types.dart' 14 import '../elements/resolution_types.dart'
15 show ResolutionDartType, ResolutionInterfaceType; 15 show ResolutionDartType, ResolutionInterfaceType;
16 import '../elements/elements.dart'; 16 import '../elements/elements.dart';
17 import '../elements/entities.dart';
17 import '../js_backend/backend_helpers.dart'; 18 import '../js_backend/backend_helpers.dart';
18 import '../js_backend/js_backend.dart' as js; 19 import '../js_backend/js_backend.dart' as js;
19 import '../native/native.dart' as native; 20 import '../native/native.dart' as native;
20 import '../resolution/operators.dart' as op; 21 import '../resolution/operators.dart' as op;
21 import '../resolution/semantic_visitor.dart'; 22 import '../resolution/semantic_visitor.dart';
22 import '../resolution/tree_elements.dart' show TreeElements; 23 import '../resolution/tree_elements.dart' show TreeElements;
23 import '../tree/tree.dart' as ast; 24 import '../tree/tree.dart' as ast;
24 import '../types/constants.dart' show computeTypeMask; 25 import '../types/constants.dart' show computeTypeMask;
25 import '../types/types.dart' show TypeMask, GlobalTypeInferenceElementData; 26 import '../types/types.dart' show TypeMask, GlobalTypeInferenceElementData;
26 import '../universe/call_structure.dart' show CallStructure; 27 import '../universe/call_structure.dart' show CallStructure;
(...skipping 2905 matching lines...) Expand 10 before | Expand all | Expand 10 after
2932 Selector moveNextSelector = Selectors.moveNext; 2933 Selector moveNextSelector = Selectors.moveNext;
2933 TypeMask moveNextMask = inTreeData.typeOfIteratorMoveNext(node); 2934 TypeMask moveNextMask = inTreeData.typeOfIteratorMoveNext(node);
2934 2935
2935 TypeInformation iteratorType = handleDynamicSend(node, iteratorSelector, 2936 TypeInformation iteratorType = handleDynamicSend(node, iteratorSelector,
2936 iteratorMask, expressionType, new ArgumentsTypes.empty()); 2937 iteratorMask, expressionType, new ArgumentsTypes.empty());
2937 2938
2938 return handleForInLoop(node, iteratorType, currentSelector, currentMask, 2939 return handleForInLoop(node, iteratorType, currentSelector, currentMask,
2939 moveNextSelector, moveNextMask); 2940 moveNextSelector, moveNextMask);
2940 } 2941 }
2941 } 2942 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/enqueue.dart ('k') | pkg/compiler/lib/src/inferrer/inferrer_engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698