summaryrefslogtreecommitdiff
path: root/indra/lscript/lscript_execute
diff options
context:
space:
mode:
Diffstat (limited to 'indra/lscript/lscript_execute')
-rw-r--r--indra/lscript/lscript_execute/lscript_execute.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/lscript/lscript_execute/lscript_execute.cpp b/indra/lscript/lscript_execute/lscript_execute.cpp
index 6280719748..fff005b7bc 100644
--- a/indra/lscript/lscript_execute/lscript_execute.cpp
+++ b/indra/lscript/lscript_execute/lscript_execute.cpp
@@ -744,6 +744,11 @@ S32 LLScriptExecuteLSL2::getMajorVersion() const
return major_version;
}
+U32 LLScriptExecuteLSL2::getUsedMemory()
+{
+ return getBytecodeSize();
+}
+
LLScriptExecute::LLScriptExecute() :
mReset(FALSE)
{