aboutsummaryrefslogtreecommitdiff
path: root/ssa.c
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-05-05 06:30:25 +0800
committerTeddy <ted.sybil@gmail.com>2014-05-05 06:30:25 +0800
commitb10940f3570f7faad91b165df6b520a308a3b070 (patch)
tree6e8d1b362f739dc3c07c174c410025bed18b79a4 /ssa.c
parent234bad3c4713b9795b9ec21b278fca78fcf65a1c (diff)
...
Diffstat (limited to 'ssa.c')
-rw-r--r--ssa.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/ssa.c b/ssa.c
index 02805d3..f8a8376 100644
--- a/ssa.c
+++ b/ssa.c
@@ -1156,17 +1156,6 @@ CBlock_t ssa_if(CNode *p, CBlock_t cur, CBlock_t loop_exit) {/*{{{*/
}
then_blk = cblock_create(1);
if_inst = compress_branch(rt, cur, 1);
-/* calculated cond */
- /*
- if_inst->op = BEQ;
- if_inst->src1 = rt;
- if_inst->src2 = copr_create();
- if_inst->src2->kind = IMM;
- if_inst->src2->info.imm = 0;
- if_inst->dest = copr_create();
- if_inst->dest->kind = IMM;
- cblock_append(cur, if_inst);
- */
cfg_add_edge(cur, then_blk);
DBLINK(cur, then_blk);