aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-04-30 00:34:10 +0800
committerTeddy <[email protected]>2014-04-30 00:34:10 +0800
commitcf1d9a8abe690cfb51fc6ceced51320a78c437bb (patch)
tree1ae7bb2b9f29b170cfbd461986a31874936060d0
parent07de7509afa048badbdd1c4c3c9a4af407e7041c (diff)
...
-rw-r--r--ssa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssa.c b/ssa.c
index bfc27a7..3da3993 100644
--- a/ssa.c
+++ b/ssa.c
@@ -1177,7 +1177,7 @@ void renaming_dfs(CBlock_t blk) {
{
COpr_t p = *(opr[t]);
if (!(p && p->kind == VAR)) continue;
- free(p);
+ /* free(p); */ /* memory leak */
*(opr[t]) = p->info.var->stack->opr;
}
if (dest && dest->kind == VAR && i->op != WARR)