From: bdemsky Date: Mon, 6 Apr 2009 20:37:24 +0000 (+0000) Subject: mistake X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7c61a6abbaf82e6b183aee56840f5fbd91ef3abc;p=IRC.git mistake --- diff --git a/Robust/src/IR/Flat/BuildCode.java b/Robust/src/IR/Flat/BuildCode.java index 36218790..3fdcebea 100644 --- a/Robust/src/IR/Flat/BuildCode.java +++ b/Robust/src/IR/Flat/BuildCode.java @@ -31,7 +31,7 @@ public class BuildCode { String localsprefix="___locals___"; String fcrevert="___fcrevert___"; String paramsprefix="___params___"; - String oidstr=state.DSM?"___nextobject___":"___objlocation___"; + String oidstr="___nextobject___"; String nextobjstr="___nextobject___"; String localcopystr="___localcopy___"; public static boolean GENERATEPRECISEGC=false; @@ -64,6 +64,8 @@ public class BuildCode { this.sa=sa; this.pa=pa; state=st; + if (state.SINGLETM) + oidstr="___objlocation___"; this.temptovar=temptovar; paramstable=new Hashtable(); tempstable=new Hashtable();