| 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; |
| 6 |
| 5 typedef void Recompile(Element element); | 7 typedef void Recompile(Element element); |
| 6 | 8 |
| 7 class ReturnInfo { | 9 class ReturnInfo { |
| 8 HType returnType; | 10 HType returnType; |
| 9 List<Element> compiledFunctions; | 11 List<Element> compiledFunctions; |
| 10 | 12 |
| 11 ReturnInfo(HType this.returnType) | 13 ReturnInfo(HType this.returnType) |
| 12 : compiledFunctions = new List<Element>(); | 14 : compiledFunctions = new List<Element>(); |
| 13 | 15 |
| 14 ReturnInfo.unknownType() | 16 ReturnInfo.unknownType() |
| (...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 945 print("Inferred return types:"); | 947 print("Inferred return types:"); |
| 946 print("----------------------"); | 948 print("----------------------"); |
| 947 dumpReturnTypes(); | 949 dumpReturnTypes(); |
| 948 print(""); | 950 print(""); |
| 949 print("Inferred field types:"); | 951 print("Inferred field types:"); |
| 950 print("------------------------"); | 952 print("------------------------"); |
| 951 fieldTypes.dump(); | 953 fieldTypes.dump(); |
| 952 print(""); | 954 print(""); |
| 953 } | 955 } |
| 954 } | 956 } |
| OLD | NEW |