| OLD | NEW |
| 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 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1188 void registerThrowExpression(TreeElements elements) { | 1188 void registerThrowExpression(TreeElements elements) { |
| 1189 enqueueInResolution(getThrowExpressionHelper(), elements); | 1189 enqueueInResolution(getThrowExpressionHelper(), elements); |
| 1190 } | 1190 } |
| 1191 | 1191 |
| 1192 void registerLazyField(TreeElements elements) { | 1192 void registerLazyField(TreeElements elements) { |
| 1193 enqueueInResolution(getCyclicThrowHelper(), elements); | 1193 enqueueInResolution(getCyclicThrowHelper(), elements); |
| 1194 } | 1194 } |
| 1195 | 1195 |
| 1196 void registerTypeLiteral(TreeElements elements) { | 1196 void registerTypeLiteral(TreeElements elements) { |
| 1197 enqueueInResolution(getCreateRuntimeType(), elements); | 1197 enqueueInResolution(getCreateRuntimeType(), elements); |
| 1198 compiler.enqueuer.resolution.registerInstantiatedClass( | |
| 1199 compiler.typeClass, elements); | |
| 1200 } | 1198 } |
| 1201 | 1199 |
| 1202 void registerStackTraceInCatch(TreeElements elements) { | 1200 void registerStackTraceInCatch(TreeElements elements) { |
| 1203 enqueueInResolution(getTraceFromException(), elements); | 1201 enqueueInResolution(getTraceFromException(), elements); |
| 1204 } | 1202 } |
| 1205 | 1203 |
| 1206 void registerSetRuntimeType(TreeElements elements) { | 1204 void registerSetRuntimeType(TreeElements elements) { |
| 1207 enqueueInResolution(getSetRuntimeTypeInfo(), elements); | 1205 enqueueInResolution(getSetRuntimeTypeInfo(), elements); |
| 1208 } | 1206 } |
| 1209 | 1207 |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1855 ClassElement get listImplementation => jsArrayClass; | 1853 ClassElement get listImplementation => jsArrayClass; |
| 1856 ClassElement get constListImplementation => jsArrayClass; | 1854 ClassElement get constListImplementation => jsArrayClass; |
| 1857 ClassElement get fixedListImplementation => jsFixedArrayClass; | 1855 ClassElement get fixedListImplementation => jsFixedArrayClass; |
| 1858 ClassElement get growableListImplementation => jsExtendableArrayClass; | 1856 ClassElement get growableListImplementation => jsExtendableArrayClass; |
| 1859 ClassElement get mapImplementation => mapLiteralClass; | 1857 ClassElement get mapImplementation => mapLiteralClass; |
| 1860 ClassElement get constMapImplementation => constMapLiteralClass; | 1858 ClassElement get constMapImplementation => constMapLiteralClass; |
| 1861 ClassElement get typeImplementation => typeLiteralClass; | 1859 ClassElement get typeImplementation => typeLiteralClass; |
| 1862 ClassElement get boolImplementation => jsBoolClass; | 1860 ClassElement get boolImplementation => jsBoolClass; |
| 1863 ClassElement get nullImplementation => jsNullClass; | 1861 ClassElement get nullImplementation => jsNullClass; |
| 1864 } | 1862 } |
| OLD | NEW |