| 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 1616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1627 ? const SourceString("listSuperNativeTypeCast") | 1627 ? const SourceString("listSuperNativeTypeCast") |
| 1628 : const SourceString('listSuperNativeTypeCheck'); | 1628 : const SourceString('listSuperNativeTypeCheck'); |
| 1629 } else { | 1629 } else { |
| 1630 return typeCast | 1630 return typeCast |
| 1631 ? const SourceString("listSuperTypeCast") | 1631 ? const SourceString("listSuperTypeCast") |
| 1632 : const SourceString('listSuperTypeCheck'); | 1632 : const SourceString('listSuperTypeCheck'); |
| 1633 } | 1633 } |
| 1634 } else { | 1634 } else { |
| 1635 if (nativeCheck) { | 1635 if (nativeCheck) { |
| 1636 return typeCast | 1636 return typeCast |
| 1637 ? const SourceString("callTypeCast") | 1637 ? const SourceString("interceptedTypeCast") |
| 1638 : const SourceString('callTypeCheck'); | 1638 : const SourceString('interceptedTypeCheck'); |
| 1639 } else { | 1639 } else { |
| 1640 return typeCast | 1640 return typeCast |
| 1641 ? const SourceString("propertyTypeCast") | 1641 ? const SourceString("propertyTypeCast") |
| 1642 : const SourceString('propertyTypeCheck'); | 1642 : const SourceString('propertyTypeCheck'); |
| 1643 } | 1643 } |
| 1644 } | 1644 } |
| 1645 } | 1645 } |
| 1646 } | 1646 } |
| 1647 | 1647 |
| 1648 void dumpInferredTypes() { | 1648 void dumpInferredTypes() { |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1771 ClassElement get constListImplementation => jsArrayClass; | 1771 ClassElement get constListImplementation => jsArrayClass; |
| 1772 ClassElement get fixedListImplementation => jsFixedArrayClass; | 1772 ClassElement get fixedListImplementation => jsFixedArrayClass; |
| 1773 ClassElement get growableListImplementation => jsExtendableArrayClass; | 1773 ClassElement get growableListImplementation => jsExtendableArrayClass; |
| 1774 ClassElement get mapImplementation => mapLiteralClass; | 1774 ClassElement get mapImplementation => mapLiteralClass; |
| 1775 ClassElement get constMapImplementation => constMapLiteralClass; | 1775 ClassElement get constMapImplementation => constMapLiteralClass; |
| 1776 ClassElement get functionImplementation => jsFunctionClass; | 1776 ClassElement get functionImplementation => jsFunctionClass; |
| 1777 ClassElement get typeImplementation => typeLiteralClass; | 1777 ClassElement get typeImplementation => typeLiteralClass; |
| 1778 ClassElement get boolImplementation => jsBoolClass; | 1778 ClassElement get boolImplementation => jsBoolClass; |
| 1779 ClassElement get nullImplementation => jsNullClass; | 1779 ClassElement get nullImplementation => jsNullClass; |
| 1780 } | 1780 } |
| OLD | NEW |