aboutsummaryrefslogtreecommitdiff
path: root/src/ssa_opt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssa_opt.cpp')
-rw-r--r--src/ssa_opt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ssa_opt.cpp b/src/ssa_opt.cpp
index a7969ceb1..07223b387 100644
--- a/src/ssa_opt.cpp
+++ b/src/ssa_opt.cpp
@@ -149,7 +149,7 @@ void ssa_remove_pred(ssaBlock *b, ssaBlock *p) {
if (pred != p) {
b->preds.e[i] = b->preds.e[j];
for_array(k, phis) {
- auto *phi = &phis.e[k]->Instr.Phi;
+ ssaInstrPhi *phi = &phis.e[k]->Instr.Phi;
phi->edges.e[i] = phi->edges.e[j];
}
i++;
@@ -157,7 +157,7 @@ void ssa_remove_pred(ssaBlock *b, ssaBlock *p) {
}
b->preds.count = i;
for_array(k, phis) {
- auto *phi = &phis.e[k]->Instr.Phi;
+ ssaInstrPhi *phi = &phis.e[k]->Instr.Phi;
phi->edges.count = i;
}