Bug fix
authorjzhou <jzhou>
Wed, 23 Mar 2011 17:28:24 +0000 (17:28 +0000)
committerjzhou <jzhou>
Wed, 23 Mar 2011 17:28:24 +0000 (17:28 +0000)
Robust/src/IR/Flat/BuildCode.java

index bdc4751b9f643ef9bdb6aba8ec79320c73772989..fdf15bc246652fc9876ecec3858638ce8c695b11 100644 (file)
@@ -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(" }");
     }
   }