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

Unified Diff: runtime/vm/flow_graph.h

Issue 16693006: Initial implementation of on-stack replacement (OSR). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean up for review. Created 7 years, 6 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.h
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
index 597ef7193b7614325790ca9bb03ed0985e2a2334..8ed08c8d125b59778f48be1db4421757afd4c781 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -181,6 +181,8 @@ class FlowGraph : public ZoneAllocated {
loop_invariant_loads_ = loop_invariant_loads;
}
+ bool IsCompiledForOsr() const { return graph_entry()->IsCompiledForOsr(); }
+
private:
friend class IfConverter;
friend class BranchSimplifier;

Powered by Google App Engine
This is Rietveld 408576698