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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart

Issue 13084013: Handle assignability for Send and SendSet (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Debug code removed. Created 7 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) 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 part of js_backend; 5 part of js_backend;
6 6
7 typedef void Recompile(Element element); 7 typedef void Recompile(Element element);
8 8
9 class ReturnInfo { 9 class ReturnInfo {
10 HType returnType; 10 HType returnType;
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 void registerThrowExpression(TreeElements elements) { 1191 void registerThrowExpression(TreeElements elements) {
1192 enqueueInResolution(getThrowExpressionHelper(), elements); 1192 enqueueInResolution(getThrowExpressionHelper(), elements);
1193 } 1193 }
1194 1194
1195 void registerLazyField(TreeElements elements) { 1195 void registerLazyField(TreeElements elements) {
1196 enqueueInResolution(getCyclicThrowHelper(), elements); 1196 enqueueInResolution(getCyclicThrowHelper(), elements);
1197 } 1197 }
1198 1198
1199 void registerTypeLiteral(TreeElements elements) { 1199 void registerTypeLiteral(TreeElements elements) {
1200 enqueueInResolution(getCreateRuntimeType(), elements); 1200 enqueueInResolution(getCreateRuntimeType(), elements);
1201 compiler.enqueuer.resolution.registerInstantiatedClass(
1202 compiler.typeClass, elements);
1201 } 1203 }
1202 1204
1203 void registerStackTraceInCatch(TreeElements elements) { 1205 void registerStackTraceInCatch(TreeElements elements) {
1204 enqueueInResolution(getTraceFromException(), elements); 1206 enqueueInResolution(getTraceFromException(), elements);
1205 } 1207 }
1206 1208
1207 void registerSetRuntimeType(TreeElements elements) { 1209 void registerSetRuntimeType(TreeElements elements) {
1208 enqueueInResolution(getSetRuntimeTypeInfo(), elements); 1210 enqueueInResolution(getSetRuntimeTypeInfo(), elements);
1209 } 1211 }
1210 1212
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
1830 ClassElement get listImplementation => jsArrayClass; 1832 ClassElement get listImplementation => jsArrayClass;
1831 ClassElement get constListImplementation => jsArrayClass; 1833 ClassElement get constListImplementation => jsArrayClass;
1832 ClassElement get fixedListImplementation => jsFixedArrayClass; 1834 ClassElement get fixedListImplementation => jsFixedArrayClass;
1833 ClassElement get growableListImplementation => jsExtendableArrayClass; 1835 ClassElement get growableListImplementation => jsExtendableArrayClass;
1834 ClassElement get mapImplementation => mapLiteralClass; 1836 ClassElement get mapImplementation => mapLiteralClass;
1835 ClassElement get constMapImplementation => constMapLiteralClass; 1837 ClassElement get constMapImplementation => constMapLiteralClass;
1836 ClassElement get typeImplementation => typeLiteralClass; 1838 ClassElement get typeImplementation => typeLiteralClass;
1837 ClassElement get boolImplementation => jsBoolClass; 1839 ClassElement get boolImplementation => jsBoolClass;
1838 ClassElement get nullImplementation => jsNullClass; 1840 ClassElement get nullImplementation => jsNullClass;
1839 } 1841 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698