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

Side by Side Diff: runtime/vm/class_finalizer.h

Issue 8360022: Fix member overriding rules in VM according to latest spec. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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
« no previous file with comments | « no previous file | runtime/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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // in the object store. 48 // in the object store.
49 static bool FinalizePendingClasses(); 49 static bool FinalizePendingClasses();
50 50
51 // Verify that the pending classes have been properly prefinalized. This is 51 // Verify that the pending classes have been properly prefinalized. This is
52 // needed during bootstrapping where the classes have been preloaded. 52 // needed during bootstrapping where the classes have been preloaded.
53 static void VerifyBootstrapClasses(); 53 static void VerifyBootstrapClasses();
54 54
55 private: 55 private:
56 static void FinalizeClass(const Class& cls); 56 static void FinalizeClass(const Class& cls);
57 static bool IsSuperCycleFree(const Class& cls); 57 static bool IsSuperCycleFree(const Class& cls);
58 static void CheckForLegalOverrides(const Class& cls);
59 static void CheckForLegalConstClass(const Class& cls); 58 static void CheckForLegalConstClass(const Class& cls);
60 static void ResolveSuperClass(const Class& cls); 59 static void ResolveSuperClass(const Class& cls);
61 static void ResolveDefaultClass(const Class& cls); 60 static void ResolveDefaultClass(const Class& cls);
62 static void ResolveInterfaces(const Class& cls, 61 static void ResolveInterfaces(const Class& cls,
63 GrowableArray<const Class*>* visited); 62 GrowableArray<const Class*>* visited);
64 static void FinalizeTypeArguments(const Class& cls, 63 static void FinalizeTypeArguments(const Class& cls,
65 const TypeArguments& arguments); 64 const TypeArguments& arguments);
66 static RawType* ResolveType(const Class& cls, const Type& type); 65 static RawType* ResolveType(const Class& cls, const Type& type);
67 static void ResolveAndFinalizeSignature(const Class& cls, 66 static void ResolveAndFinalizeSignature(const Class& cls,
68 const Function& function); 67 const Function& function);
69 static void ResolveAndFinalizeMemberTypes(const Class& cls); 68 static void ResolveAndFinalizeMemberTypes(const Class& cls);
70 static void PrintClassInformation(const Class& cls); 69 static void PrintClassInformation(const Class& cls);
71 static void VerifyClassImplements(const Class& cls); 70 static void VerifyClassImplements(const Class& cls);
72 static void CollectInterfaces(const Class& cls, 71 static void CollectInterfaces(const Class& cls,
73 GrowableArray<const Class*>* interfaces); 72 GrowableArray<const Class*>* interfaces);
74 static void ReportError(const Script& script, 73 static void ReportError(const Script& script,
75 intptr_t token_index, 74 intptr_t token_index,
76 const char* format, ...); 75 const char* format, ...);
77 static void ReportError(const char* format, ...); 76 static void ReportError(const char* format, ...);
78 }; 77 };
79 78
80 } // namespace dart 79 } // namespace dart
81 80
82 #endif // VM_CLASS_FINALIZER_H_ 81 #endif // VM_CLASS_FINALIZER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698