Remove dead uses of RSCompilerDriver and of compiler callbacks.
Change-Id: Ibe8725074724b75e35c25a404daaba07ffbca2ab
diff --git a/cpu_ref/rsCpuCore.cpp b/cpu_ref/rsCpuCore.cpp
index 3ce9d9d..5fe7801 100644
--- a/cpu_ref/rsCpuCore.cpp
+++ b/cpu_ref/rsCpuCore.cpp
@@ -64,8 +64,7 @@
RsdCpuReference * RsdCpuReference::create(Context *rsc, uint32_t version_major,
uint32_t version_minor, sym_lookup_t lfn, script_lookup_t slfn
- , bcc::RSLinkRuntimeCallback pLinkRuntimeCallback,
- RSSelectRTCallback pSelectRTCallback,
+ , RSSelectRTCallback pSelectRTCallback,
const char *pBccPluginName
) {
@@ -78,7 +77,6 @@
return nullptr;
}
- cpu->setLinkRuntimeCallback(pLinkRuntimeCallback);
cpu->setSelectRTCallback(pSelectRTCallback);
if (pBccPluginName) {
cpu->setBccPluginName(pBccPluginName);
@@ -112,9 +110,7 @@
memset(&mWorkers, 0, sizeof(mWorkers));
memset(&mTlsStruct, 0, sizeof(mTlsStruct));
mExit = false;
- mLinkRuntimeCallback = nullptr;
mSelectRTCallback = nullptr;
- mSetupCompilerCallback = nullptr;
mEmbedGlobalInfo = true;
mEmbedGlobalInfoSkipConstant = true;
}