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

Unified Diff: runtime/vm/kernel_to_il.h

Issue 2464953002: Add support for OSR in kernel-based FlowGraphBuilder (Closed)
Patch Set: Created 4 years, 1 month 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/kernel_to_il.h
diff --git a/runtime/vm/kernel_to_il.h b/runtime/vm/kernel_to_il.h
index 20b9aeb095a5375925acf16ea8e87875eb564567..2b1ec636f8bbe357a7c4197b0499baae473c522d 100644
--- a/runtime/vm/kernel_to_il.h
+++ b/runtime/vm/kernel_to_il.h
@@ -743,6 +743,10 @@ class FlowGraphBuilder : public TreeVisitor {
void InlineBailout(const char* reason);
+ // When compiling for OSR, remove blocks that are not reachable from the
+ // OSR entry point.
+ void PruneUnreachableIfOSR();
+
Zone* zone_;
TranslationHelper translation_helper_;

Powered by Google App Engine
This is Rietveld 408576698