aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4function.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-03-03 11:51:17 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-03 20:23:24 +0100
commit292fdc90865e8603e11bbbe3f2870004caeb0e35 (patch)
tree964cfe2ea959c1159618356ce8d99c6f1db03ff1 /src/qml/jsruntime/qv4function.cpp
parentfd8981d835f298306a39c5d32b1050bf8f9b5653 (diff)
Remove nArguments and name from QV4::Function
Saves 12 bytes per Function Change-Id: I9a495805f9201eb6162a520ff5c2defeb73dc37a Reviewed-by: Simon Hausmann <simon.hausmann@digia.com> Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/qml/jsruntime/qv4function.cpp')
-rw-r--r--src/qml/jsruntime/qv4function.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/qml/jsruntime/qv4function.cpp b/src/qml/jsruntime/qv4function.cpp
index 811b445f9e..550c359772 100644
--- a/src/qml/jsruntime/qv4function.cpp
+++ b/src/qml/jsruntime/qv4function.cpp
@@ -60,10 +60,6 @@ Function::Function(ExecutionEngine *engine, CompiledData::CompilationUnit *unit,
{
Q_UNUSED(engine);
- name = compilationUnit->runtimeStrings[compiledFunction->nameIndex].asString();
-
- nArguments = compiledFunction->nFormals;
-
internalClass = engine->emptyClass;
const quint32 *formalsIndices = compiledFunction->formalsTable();
// iterate backwards, so we get the right ordering for duplicate names
@@ -92,11 +88,6 @@ Function::~Function()
}
-void Function::mark(ExecutionEngine *e)
-{
- name.mark(e);
-}
-
namespace QV4 {
template <int field, typename SearchType>
struct LineNumberMappingHelper