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