Remove RSInfo
bug 19602994
RSInfo is no longer used. Script-specific information is now passed via
.rs.info variable in the object file. This patch removes RSInfo and the
old caching path which was closely tied to RSInfo.
Change-Id: Icb62ed848d1a262dd13d5c49652d034fcd0bb943
diff --git a/lib/Renderscript/RSScript.cpp b/lib/Renderscript/RSScript.cpp
index c93ca64..396b47d 100644
--- a/lib/Renderscript/RSScript.cpp
+++ b/lib/Renderscript/RSScript.cpp
@@ -17,7 +17,6 @@
#include "bcc/Renderscript/RSScript.h"
#include "bcc/Assert.h"
-#include "bcc/Renderscript/RSInfo.h"
#include "bcc/Source.h"
#include "bcc/Support/Log.h"
@@ -50,12 +49,11 @@
}
RSScript::RSScript(Source &pSource)
- : Script(pSource), mInfo(nullptr), mCompilerVersion(0),
+ : Script(pSource), mCompilerVersion(0),
mOptimizationLevel(kOptLvl3), mLinkRuntimeCallback(nullptr),
mEmbedInfo(false) { }
bool RSScript::doReset() {
- mInfo = nullptr;
mCompilerVersion = 0;
mOptimizationLevel = kOptLvl3;
return true;