From: bdemsky Date: Sat, 16 Apr 2011 08:12:37 +0000 (+0000) Subject: change X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1414d9eb35eeddc7a236b7d0d4976771820a7229;p=IRC.git change --- diff --git a/Robust/src/IR/Flat/BuildCode.java b/Robust/src/IR/Flat/BuildCode.java index 8319a245..a608d2e6 100644 --- 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