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

Unified Diff: runtime/vm/precompiler.h

Issue 1373873004: Make --noopt behave like an in-place precompilation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/precompiler.h
diff --git a/runtime/vm/precompiler.h b/runtime/vm/precompiler.h
index 1692edabce884427072e0892e3f18c6154c7b52a..ffa736d540089dd83c0fcef50b0107af8427c907 100644
--- a/runtime/vm/precompiler.h
+++ b/runtime/vm/precompiler.h
@@ -79,10 +79,11 @@ class SymbolSet : public ValueObject {
class Precompiler : public ValueObject {
public:
static RawError* CompileAll(
- Dart_QualifiedFunctionName embedder_entry_points[]);
+ Dart_QualifiedFunctionName embedder_entry_points[],
+ bool reset_fields);
private:
- explicit Precompiler(Thread* thread);
+ Precompiler(Thread* thread, bool reset_fields);
void DoCompileAll(Dart_QualifiedFunctionName embedder_entry_points[]);
void ClearAllCode();
@@ -112,6 +113,8 @@ class Precompiler : public ValueObject {
Zone* zone_;
Isolate* isolate_;
+ bool reset_fields_;
srdjan 2015/09/29 23:27:47 const
rmacnak 2015/09/30 00:10:29 Done.
+
bool changed_;
intptr_t function_count_;
intptr_t class_count_;

Powered by Google App Engine
This is Rietveld 408576698