projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8266e5
)
change
author
bdemsky
<bdemsky>
Sat, 16 Apr 2011 08:12:37 +0000
(08:12 +0000)
committer
bdemsky
<bdemsky>
Sat, 16 Apr 2011 08:12:37 +0000
(08:12 +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 8319a245693300f4a4590e308b86480f981caeff..a608d2e6c85c5b0ee085e20fec0550390c10a36b 100644
(file)
--- a/
Robust/src/IR/Flat/BuildCode.java
+++ b/
Robust/src/IR/Flat/BuildCode.java
@@
-457,7
+457,9
@@
public class BuildCode {
outmethod.println("#include \"methodheaders.h\"");
outmethod.println("#include \"virtualtable.h\"");
outmethod.println("#include \"runtime.h\"");
- outmethod.println("#include \"jni-private.h\"");
+ if (state.JNI) {
+ outmethod.println("#include \"jni-private.h\"");
+ }
// always include: compiler directives will leave out
// instrumentation when option is not set