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

Side by Side Diff: pkg/compiler/lib/src/js_backend/codegen/glue.dart

Issue 1123343008: Implement raw list checks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update test expectations. Created 5 years, 7 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 code_generator_dependencies; 5 library code_generator_dependencies;
6 6
7 import '../js_backend.dart'; 7 import '../js_backend.dart';
8 import '../../dart2jslib.dart'; 8 import '../../dart2jslib.dart';
9 import '../../js_emitter/js_emitter.dart'; 9 import '../../js_emitter/js_emitter.dart';
10 import '../../js/js.dart' as js; 10 import '../../js/js.dart' as js;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 211
212 bool isDoubleClass(ClassElement cls) => cls == _compiler.doubleClass; 212 bool isDoubleClass(ClassElement cls) => cls == _compiler.doubleClass;
213 213
214 String getTypeTestTag(DartType type) { 214 String getTypeTestTag(DartType type) {
215 return _backend.namer.operatorIsType(type); 215 return _backend.namer.operatorIsType(type);
216 } 216 }
217 217
218 bool operatorEqHandlesNullArgument(FunctionElement element) { 218 bool operatorEqHandlesNullArgument(FunctionElement element) {
219 return _backend.operatorEqHandlesNullArgument(element); 219 return _backend.operatorEqHandlesNullArgument(element);
220 } 220 }
221
222 bool isListClass(ClassElement cls) => cls == _compiler.listClass;
221 } 223 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698