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

Unified Diff: runtime/vm/intermediate_language.h

Issue 1918913002: VM: Improve phi-elimination to improve code inside of try-catch. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: added TODO Created 4 years, 8 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 | « no previous file | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
index 1536cf4cde887b45c60fe15c6f489d48fa7873f6..a6e391bbdcc10734de77295899029f822dd8eeb2 100644
--- a/runtime/vm/intermediate_language.h
+++ b/runtime/vm/intermediate_language.h
@@ -1984,6 +1984,8 @@ class PhiInstr : public Definition {
// A phi is redundant if all input operands are the same.
bool IsRedundant() const;
+ bool HasReplacement(Definition** replacement) const;
+
void set_induction_variable_info(InductionVariableInfo* info) {
loop_variable_info_ = info;
}
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698