From: jzhou Date: Wed, 23 Mar 2011 17:28:24 +0000 (+0000) Subject: Bug fix X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4ad2ba403e68dd5eda306b0ea7d1184797134e44;p=IRC.git Bug fix --- diff --git a/Robust/src/IR/Flat/BuildCode.java b/Robust/src/IR/Flat/BuildCode.java index bdc4751b..fdf15bc2 100644 --- a/Robust/src/IR/Flat/BuildCode.java +++ b/Robust/src/IR/Flat/BuildCode.java @@ -354,7 +354,6 @@ public class BuildCode { outmethod.println(" global_defs_p->"+t_cd.getSafeSymbol()+"classobj = allocate_new(&dummy, " + typeutil.getClass(TypeUtil.ObjectClass).getId() + ");"); } else outmethod.println(" global_defs_p->"+t_cd.getSafeSymbol()+"classobj = allocate_new("+typeutil.getClass(TypeUtil.ObjectClass).getId() + ");"); - outmethod.println(" global_defs_p->"+t_cd.getSafeSymbol()+"classobj->type = " + t_cd.getId() + ";"); outmethod.println(" }"); } }