Use bccPrepareExecutable() instead of bccPrepareExecutableEx(). Change-Id: Iaf24ddac827417b22a0d9087be91cd221241fb78
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 @@ 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 @@ 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; }