| 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 typedef void Recompile(Element element); | 5 typedef void Recompile(Element element); |
| 6 | 6 |
| 7 class ReturnInfo { | 7 class ReturnInfo { |
| 8 HType returnType; | 8 HType returnType; |
| 9 List<Element> compiledFunctions; | 9 List<Element> compiledFunctions; |
| 10 | 10 |
| (...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 918 return nativeCheck | 918 return nativeCheck |
| 919 ? const SourceString('listSuperNativeTypeCheck') | 919 ? const SourceString('listSuperNativeTypeCheck') |
| 920 : const SourceString('listSuperTypeCheck'); | 920 : const SourceString('listSuperTypeCheck'); |
| 921 } else { | 921 } else { |
| 922 return nativeCheck | 922 return nativeCheck |
| 923 ? const SourceString('callTypeCheck') | 923 ? const SourceString('callTypeCheck') |
| 924 : const SourceString('propertyTypeCheck'); | 924 : const SourceString('propertyTypeCheck'); |
| 925 } | 925 } |
| 926 } | 926 } |
| 927 } | 927 } |
| 928 |
| 929 void dumpInferredTypes() { |
| 930 print("Inferred argument types:"); |
| 931 print("------------------------"); |
| 932 argumentTypes.dump(); |
| 933 print(""); |
| 934 print("Inferred return types:"); |
| 935 print("----------------------"); |
| 936 dumpReturnTypes(); |
| 937 print(""); |
| 938 print("Inferred field types:"); |
| 939 print("------------------------"); |
| 940 fieldTypes.dump(); |
| 941 print(""); |
| 942 } |
| 928 } | 943 } |
| OLD | NEW |