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

Side by Side Diff: pkg/compiler/lib/src/constants/constant_system.dart

Issue 2827283002: Implement subtype relation for kernel based elements. (Closed)
Patch Set: Updated cf. comments Created 3 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 dart2js.constant_system; 5 library dart2js.constant_system;
6 6
7 import '../common_elements.dart' show CommonElements; 7 import '../common_elements.dart' show CommonElements;
8 import '../elements/resolution_types.dart' show DartTypes;
9 import '../elements/types.dart'; 8 import '../elements/types.dart';
10 import '../resolution/operators.dart'; 9 import '../resolution/operators.dart';
11 import '../tree/dartstring.dart' show DartString; 10 import '../tree/dartstring.dart' show DartString;
12 import 'values.dart'; 11 import 'values.dart';
13 12
14 abstract class Operation { 13 abstract class Operation {
15 String get name; 14 String get name;
16 } 15 }
17 16
18 abstract class UnaryOperation extends Operation { 17 abstract class UnaryOperation extends Operation {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 return greaterEqual; 136 return greaterEqual;
138 case BinaryOperatorKind.EQ: 137 case BinaryOperatorKind.EQ:
139 return equal; 138 return equal;
140 case BinaryOperatorKind.IF_NULL: 139 case BinaryOperatorKind.IF_NULL:
141 return ifNull; 140 return ifNull;
142 default: 141 default:
143 return null; 142 return null;
144 } 143 }
145 } 144 }
146 } 145 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/constant_system_dart.dart ('k') | pkg/compiler/lib/src/elements/resolution_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698