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

Unified Diff: runtime/vm/flow_graph.h

Issue 2709093003: Fixup redefinitions before doing code motion (Closed)
Patch Set: fix build Created 3 years, 10 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
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph.h
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
index 9c1c08e2b295640945be08162110a88adcfe37cc..9e20957a71315133fefa1a5c8c8a6d1bb97efeec 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -199,6 +199,7 @@ class FlowGraph : public ZoneAllocated {
// Verification methods for debugging.
bool VerifyUseLists();
+ bool VerifyRedefinitions();
void DiscoverBlocks();
@@ -291,6 +292,10 @@ class FlowGraph : public ZoneAllocated {
Instruction* dom,
Definition* other);
+ // Renames uses of redefined values to make sure that uses of redefined
+ // values that are dominated by a redefinition are renamed.
+ void RenameUsesDominatedByRedefinitions();
+
private:
friend class IfConverter;
friend class BranchSimplifier;
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698