Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: lib/compiler/implementation/js_backend/backend.dart

Issue 11052011: Fix some warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698