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

Side by Side Diff: vm/class_finalizer.h

Issue 8949043: - Fix outdated use of factory clause. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 9 years 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
« no previous file with comments | « bin/timer.dart ('k') | vm/class_finalizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 #ifndef VM_CLASS_FINALIZER_H_ 5 #ifndef VM_CLASS_FINALIZER_H_
6 #define VM_CLASS_FINALIZER_H_ 6 #define VM_CLASS_FINALIZER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/growable_array.h" 9 #include "vm/growable_array.h"
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 static void VerifyBootstrapClasses(); 69 static void VerifyBootstrapClasses();
70 70
71 private: 71 private:
72 static bool FinalizePendingClasses(bool generating_snapshot); 72 static bool FinalizePendingClasses(bool generating_snapshot);
73 static void FinalizeClass(const Class& cls, bool generating_snapshot); 73 static void FinalizeClass(const Class& cls, bool generating_snapshot);
74 static bool IsSuperCycleFree(const Class& cls); 74 static bool IsSuperCycleFree(const Class& cls);
75 static void CheckForLegalConstClass(const Class& cls); 75 static void CheckForLegalConstClass(const Class& cls);
76 static RawClass* ResolveClass(const Class& cls, 76 static RawClass* ResolveClass(const Class& cls,
77 const UnresolvedClass& unresolved_class); 77 const UnresolvedClass& unresolved_class);
78 static void ResolveSuperType(const Class& cls); 78 static void ResolveSuperType(const Class& cls);
79 static void ResolveFactoryClass(const Class& cls); 79 static void ResolveDefaultClass(const Class& cls);
80 static void ResolveInterfaces(const Class& cls, 80 static void ResolveInterfaces(const Class& cls,
81 GrowableArray<const Class*>* visited); 81 GrowableArray<const Class*>* visited);
82 static void FinalizeTypeArguments(const Class& cls, 82 static void FinalizeTypeArguments(const Class& cls,
83 const AbstractTypeArguments& arguments); 83 const AbstractTypeArguments& arguments);
84 static void ResolveType(const Class& cls, const AbstractType& type); 84 static void ResolveType(const Class& cls, const AbstractType& type);
85 static RawAbstractType* FinalizeType(const Class& cls, 85 static RawAbstractType* FinalizeType(const Class& cls,
86 const AbstractType& type); 86 const AbstractType& type);
87 static void ResolveAndFinalizeUpperBounds(const Class& cls); 87 static void ResolveAndFinalizeUpperBounds(const Class& cls);
88 static void VerifyUpperBounds(const Class& cls, 88 static void VerifyUpperBounds(const Class& cls,
89 const AbstractTypeArguments& arguments); 89 const AbstractTypeArguments& arguments);
90 static void ResolveAndFinalizeSignature(const Class& cls, 90 static void ResolveAndFinalizeSignature(const Class& cls,
91 const Function& function); 91 const Function& function);
92 static void ResolveAndFinalizeMemberTypes(const Class& cls); 92 static void ResolveAndFinalizeMemberTypes(const Class& cls);
93 static void PrintClassInformation(const Class& cls); 93 static void PrintClassInformation(const Class& cls);
94 static void VerifyClassImplements(const Class& cls); 94 static void VerifyClassImplements(const Class& cls);
95 static void CollectInterfaces(const Class& cls, 95 static void CollectInterfaces(const Class& cls,
96 GrowableArray<const Class*>* interfaces); 96 GrowableArray<const Class*>* interfaces);
97 static void ReportError(const Script& script, 97 static void ReportError(const Script& script,
98 intptr_t token_index, 98 intptr_t token_index,
99 const char* format, ...); 99 const char* format, ...);
100 static void ReportError(const char* format, ...); 100 static void ReportError(const char* format, ...);
101 static void ReportWarning(const Script& script, 101 static void ReportWarning(const Script& script,
102 intptr_t token_index, 102 intptr_t token_index,
103 const char* format, ...); 103 const char* format, ...);
104 }; 104 };
105 105
106 } // namespace dart 106 } // namespace dart
107 107
108 #endif // VM_CLASS_FINALIZER_H_ 108 #endif // VM_CLASS_FINALIZER_H_
OLDNEW
« no previous file with comments | « bin/timer.dart ('k') | vm/class_finalizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698