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

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

Issue 1405253004: Precompilation: Including generative constructor entry points should mark a class as instantiated. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | runtime/vm/precompiler.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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_PRECOMPILER_H_ 5 #ifndef VM_PRECOMPILER_H_
6 #define VM_PRECOMPILER_H_ 6 #define VM_PRECOMPILER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/hash_map.h" 9 #include "vm/hash_map.h"
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 void ClearAllCode(); 100 void ClearAllCode();
101 void AddRoots(Dart_QualifiedFunctionName embedder_entry_points[]); 101 void AddRoots(Dart_QualifiedFunctionName embedder_entry_points[]);
102 void AddEntryPoints(Dart_QualifiedFunctionName entry_points[]); 102 void AddEntryPoints(Dart_QualifiedFunctionName entry_points[]);
103 void Iterate(); 103 void Iterate();
104 104
105 void AddCalleesOf(const Function& function); 105 void AddCalleesOf(const Function& function);
106 void AddConstObject(const Instance& instance); 106 void AddConstObject(const Instance& instance);
107 void AddClosureCall(const ICData& call_site); 107 void AddClosureCall(const ICData& call_site);
108 void AddField(const Field& field); 108 void AddField(const Field& field);
109 void AddFunction(const Function& function); 109 void AddFunction(const Function& function);
110 void AddClass(const Class& cls); 110 void AddInstantiatedClass(const Class& cls);
111 void AddSelector(const String& selector); 111 void AddSelector(const String& selector);
112 bool IsSent(const String& selector); 112 bool IsSent(const String& selector);
113 113
114 void ProcessFunction(const Function& function); 114 void ProcessFunction(const Function& function);
115 void CheckForNewDynamicFunctions(); 115 void CheckForNewDynamicFunctions();
116 116
117 void DropUncompiledFunctions(); 117 void DropUncompiledFunctions();
118 void BindStaticCalls(); 118 void BindStaticCalls();
119 void DedupStackmaps(); 119 void DedupStackmaps();
120 120
(...skipping 26 matching lines...) Expand all
147 const GrowableObjectArray& libraries_; 147 const GrowableObjectArray& libraries_;
148 const GrowableObjectArray& pending_functions_; 148 const GrowableObjectArray& pending_functions_;
149 SymbolSet sent_selectors_; 149 SymbolSet sent_selectors_;
150 FunctionSet enqueued_functions_; 150 FunctionSet enqueued_functions_;
151 Error& error_; 151 Error& error_;
152 }; 152 };
153 153
154 } // namespace dart 154 } // namespace dart
155 155
156 #endif // VM_PRECOMPILER_H_ 156 #endif // VM_PRECOMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/precompiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698