projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dc9b4a
)
fix: make OID only available for MLP.
author
yeom
<yeom>
Fri, 21 May 2010 21:37:49 +0000
(21:37 +0000)
committer
yeom
<yeom>
Fri, 21 May 2010 21:37:49 +0000
(21:37 +0000)
Robust/src/IR/Flat/BuildCode.java
patch
|
blob
|
history
diff --git
a/Robust/src/IR/Flat/BuildCode.java
b/Robust/src/IR/Flat/BuildCode.java
index 8a65dedce4c578d9039de4455953c5b2982b4aa7..d8801fdd005118357ffebd0959f0defa73ff0086 100644
(file)
--- a/
Robust/src/IR/Flat/BuildCode.java
+++ b/
Robust/src/IR/Flat/BuildCode.java
@@
-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;");
}