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

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

Issue 1130813002: dart2js cps: Handle error cases. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Whitelist unused API due to semantic visitor being WIP 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 ConstructorElement get mapLiteralConstructorEmpty { 69 ConstructorElement get mapLiteralConstructorEmpty {
70 return _backend.mapLiteralConstructorEmpty; 70 return _backend.mapLiteralConstructorEmpty;
71 } 71 }
72 72
73 FunctionElement get identicalFunction => _compiler.identicalFunction; 73 FunctionElement get identicalFunction => _compiler.identicalFunction;
74 74
75 String invocationName(Selector selector) { 75 String invocationName(Selector selector) {
76 return _namer.invocationName(selector); 76 return _namer.invocationName(selector);
77 } 77 }
78 78
79 FunctionElement get createInvocationMirrorMethod {
80 return _backend.getCreateInvocationMirror();
81 }
82
79 void registerUseInterceptorInCodegen() { 83 void registerUseInterceptorInCodegen() {
80 _backend.registerUseInterceptor(_enqueuer); 84 _backend.registerUseInterceptor(_enqueuer);
81 } 85 }
82 86
83 bool isInterceptedSelector(Selector selector) { 87 bool isInterceptedSelector(Selector selector) {
84 return _backend.isInterceptedSelector(selector); 88 return _backend.isInterceptedSelector(selector);
85 } 89 }
86 90
87 bool isInterceptedMethod(Element element) { 91 bool isInterceptedMethod(Element element) {
88 return _backend.isInterceptedMethod(element); 92 return _backend.isInterceptedMethod(element);
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 bool isBoolClass(ClassElement cls) => cls == _compiler.boolClass; 205 bool isBoolClass(ClassElement cls) => cls == _compiler.boolClass;
202 206
203 bool isNumClass(ClassElement cls) => cls == _compiler.numClass; 207 bool isNumClass(ClassElement cls) => cls == _compiler.numClass;
204 208
205 bool isDoubleClass(ClassElement cls) => cls == _compiler.doubleClass; 209 bool isDoubleClass(ClassElement cls) => cls == _compiler.doubleClass;
206 210
207 String getTypeTestTag(DartType type) { 211 String getTypeTestTag(DartType type) {
208 return _backend.namer.operatorIsType(type); 212 return _backend.namer.operatorIsType(type);
209 } 213 }
210 } 214 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/codegen.dart ('k') | pkg/compiler/lib/src/js_backend/codegen/js_tree_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698