summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2011-07-19 07:57:07 -0700
committerShih-wei Liao <sliao@google.com>2011-07-19 07:57:07 -0700
commitcf120b7974bbc285dcb620cae8cbb343b096e511 (patch)
tree1ab707da4bf3bd270f12e3a6c1dafb4abb051632
parent4a0d42320b45cb8e38d645c48c3a90cdcb5776e8 (diff)
downloadgdk-cf120b7974bbc285dcb620cae8cbb343b096e511.tar.gz
Use bccPrepareExecutable() instead of bccPrepareExecutableEx().
Change-Id: Iaf24ddac827417b22a0d9087be91cd221241fb78
-rw-r--r--samples/bitmap-plasma-llvm/jni/plasmaLLVM.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/bitmap-plasma-llvm/jni/plasmaLLVM.cpp b/samples/bitmap-plasma-llvm/jni/plasmaLLVM.cpp
index f338194..69584d2 100644
--- a/samples/bitmap-plasma-llvm/jni/plasmaLLVM.cpp
+++ b/samples/bitmap-plasma-llvm/jni/plasmaLLVM.cpp
@@ -403,7 +403,7 @@ extern "C" JNIEXPORT jint JNICALL Java_com_example_plasma_llvm_PlasmaView_native
if (use_llvm) {
double start_jit = now_ms();
-
+
BCCScriptRef script_ref = bccCreateScript();
jbyte* script_ptr = (jbyte *)env->GetPrimitiveArrayCritical(scriptRef, (jboolean *)0);
@@ -422,7 +422,7 @@ extern "C" JNIEXPORT jint JNICALL Java_com_example_plasma_llvm_PlasmaView_native
return -1;
}
- if (bccPrepareExecutableEx(script_ref, "/data/data/com.example.plasma.llvm/", "plasmaLLVM", 0)) {
+ if (bccPrepareExecutable(script_ref, "/data/data/com.example.plasma.llvm/", "plasmaLLVM", 0)) {
LOGE("Error! Cannot bccPrepareExecutable");
return -1;
}