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

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 1390153004: Move deopt_id and related helpers/definitions from Isolate to Thread (Closed) Base URL: https://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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/flow_graph_compiler.h
diff --git a/runtime/vm/flow_graph_compiler.h b/runtime/vm/flow_graph_compiler.h
index 14517762c57dfd6394cedc781c52fe41bbd88f1e..df9f7e4f9497bc722c6548ba877a584b1adb5daa 100644
--- a/runtime/vm/flow_graph_compiler.h
+++ b/runtime/vm/flow_graph_compiler.h
@@ -525,6 +525,7 @@ class FlowGraphCompiler : public ValueObject {
return *deopt_id_to_ic_data_;
}
+ Thread* thread() const { return thread_; }
Isolate* isolate() const { return isolate_; }
Zone* zone() const { return zone_; }
@@ -681,6 +682,7 @@ class FlowGraphCompiler : public ValueObject {
DISALLOW_COPY_AND_ASSIGN(StaticCallsStruct);
};
+ Thread* thread_;
Isolate* isolate_;
Zone* zone_;
Assembler* assembler_;

Powered by Google App Engine
This is Rietveld 408576698