Add bccPrepareSharedObject
Unlike bccPrepareExecuteable, bccPrepareSharedObject does not
resolve external symbols; therefore it only generate cache file
not execuable.
Change-Id: I3ef093015a4f54011fbf298123cac2464230b408
diff --git a/lib/ExecutionEngine/ScriptCompiled.h b/lib/ExecutionEngine/ScriptCompiled.h
index 9593be8..5972ddf 100644
--- a/lib/ExecutionEngine/ScriptCompiled.h
+++ b/lib/ExecutionEngine/ScriptCompiled.h
@@ -88,8 +88,8 @@
return mCompiler.linkModule(module);
}
- int compile() {
- return mCompiler.compile();
+ int compile(bool compileOnly) {
+ return mCompiler.compile(compileOnly);
}
char const *getCompilerErrorMessage() {