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

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

Issue 1109403002: cps-ir: Support compilation of methods that use interceptor calling convention. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adjust 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 205
206 bool isBoolClass(ClassElement cls) => cls == _compiler.boolClass; 206 bool isBoolClass(ClassElement cls) => cls == _compiler.boolClass;
207 207
208 bool isNumClass(ClassElement cls) => cls == _compiler.numClass; 208 bool isNumClass(ClassElement cls) => cls == _compiler.numClass;
209 209
210 bool isDoubleClass(ClassElement cls) => cls == _compiler.doubleClass; 210 bool isDoubleClass(ClassElement cls) => cls == _compiler.doubleClass;
211 211
212 String getTypeTestTag(DartType type) { 212 String getTypeTestTag(DartType type) {
213 return _backend.namer.operatorIsType(type); 213 return _backend.namer.operatorIsType(type);
214 } 214 }
215
216 bool operatorEqHandlesNullArgument(FunctionElement element) {
217 return _backend.operatorEqHandlesNullArgument(element);
218 }
215 } 219 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698