From 7c61a6abbaf82e6b183aee56840f5fbd91ef3abc Mon Sep 17 00:00:00 2001 From: bdemsky Date: Mon, 6 Apr 2009 20:37:24 +0000 Subject: [PATCH] mistake --- Robust/src/IR/Flat/BuildCode.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.34.1