aboutsummaryrefslogtreecommitdiff
path: root/src/ssa_opt.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-11-23 12:03:26 +0000
committerGinger Bill <bill@gingerbill.org>2016-11-23 12:03:26 +0000
commitef8563a818812493c33e34a259189757d0e7612b (patch)
tree0f83027c0d8238d8132a53b8ccfdb3b5055e2b8b /src/ssa_opt.cpp
parentaa2bcb166f2f0356dceb4e9424223ccbd483faf0 (diff)
Remove auto
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;
}