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

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

Issue 1091443003: Move constant systems into their own libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix try/poi/forget_element_test Created 5 years, 8 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 | Annotate | Revision Log
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 inferrer_visitor; 5 library inferrer_visitor;
6 6
7 import '../constants/constant_system.dart';
7 import '../dart2jslib.dart' hide Selector, TypedSelector; 8 import '../dart2jslib.dart' hide Selector, TypedSelector;
8 import '../dart_types.dart'; 9 import '../dart_types.dart';
9 import '../elements/elements.dart'; 10 import '../elements/elements.dart';
10 import '../tree/tree.dart'; 11 import '../tree/tree.dart';
11 import '../universe/universe.dart'; 12 import '../universe/universe.dart';
12 import '../util/util.dart'; 13 import '../util/util.dart';
13 import '../types/types.dart' show TypeMask; 14 import '../types/types.dart' show TypeMask;
14 import '../types/constants.dart' show computeTypeMask; 15 import '../types/constants.dart' show computeTypeMask;
15 import 'dart:collection' show IterableMixin; 16 import 'dart:collection' show IterableMixin;
16 17
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1307 return type; 1308 return type;
1308 } 1309 }
1309 1310
1310 T visitCascade(Cascade node) { 1311 T visitCascade(Cascade node) {
1311 // Ignore the result of the cascade send and return the type of the cascade 1312 // Ignore the result of the cascade send and return the type of the cascade
1312 // receiver. 1313 // receiver.
1313 visit(node.expression); 1314 visit(node.expression);
1314 return cascadeReceiverStack.removeLast(); 1315 return cascadeReceiverStack.removeLast();
1315 } 1316 }
1316 } 1317 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/dart_backend/dart_backend.dart ('k') | pkg/compiler/lib/src/js_backend/codegen/task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698