fix: make OID only available for MLP.
authoryeom <yeom>
Fri, 21 May 2010 21:37:49 +0000 (21:37 +0000)
committeryeom <yeom>
Fri, 21 May 2010 21:37:49 +0000 (21:37 +0000)
Robust/src/IR/Flat/BuildCode.java

index 8a65dedce4c578d9039de4455953c5b2982b4aa7..d8801fdd005118357ffebd0959f0defa73ff0086 100644 (file)
@@ -638,7 +638,9 @@ public class BuildCode {
     //Print out definition for array type
     outclassdefs.println("struct "+arraytype+" {");
     outclassdefs.println("  int type;");
-    outclassdefs.println("  int oid;");
+    if(state.MLP){
+      outclassdefs.println("  int oid;");
+    }
     if (state.EVENTMONITOR) {
       outclassdefs.println("  int objuid;");
     }