aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qml/compiler/qv4isel_masm.cpp3
-rw-r--r--src/qml/compiler/qv4isel_p.cpp1
-rw-r--r--src/qml/jsruntime/qv4function_p.h2
3 files changed, 0 insertions, 6 deletions
diff --git a/src/qml/compiler/qv4isel_masm.cpp b/src/qml/compiler/qv4isel_masm.cpp
index 4317ba0d54..21c2c73fe7 100644
--- a/src/qml/compiler/qv4isel_masm.cpp
+++ b/src/qml/compiler/qv4isel_masm.cpp
@@ -216,16 +216,13 @@ Assembler::Pointer Assembler::loadTempAddress(RegisterID reg, V4IR::Temp *t)
{
int32_t offset = 0;
int scope = t->scope;
- QV4::Function *f = _vmFunction;
RegisterID context = ContextRegister;
if (scope) {
loadPtr(Address(ContextRegister, offsetof(ExecutionContext, outer)), ScratchRegister);
--scope;
- f = f->outer;
context = ScratchRegister;
while (scope) {
loadPtr(Address(context, offsetof(ExecutionContext, outer)), context);
- f = f->outer;
--scope;
}
}
diff --git a/src/qml/compiler/qv4isel_p.cpp b/src/qml/compiler/qv4isel_p.cpp
index ca8d249f9f..03c0ee750e 100644
--- a/src/qml/compiler/qv4isel_p.cpp
+++ b/src/qml/compiler/qv4isel_p.cpp
@@ -86,7 +86,6 @@ QV4::Function *EvalInstructionSelection::createFunctionMapping(QV4::Function *ou
vmFunction->usesArgumentsObject = irFunction->usesArgumentsObject;
vmFunction->hasNestedFunctions = !irFunction->nestedFunctions.isEmpty();
vmFunction->isStrict = irFunction->isStrict;
- vmFunction->outer = outer;
vmFunction->isNamedExpression = irFunction->isNamedExpression;
vmFunction->sourceFile = irFunction->sourceFile;
diff --git a/src/qml/jsruntime/qv4function_p.h b/src/qml/jsruntime/qv4function_p.h
index 4dd0533d51..3ff31ed2e3 100644
--- a/src/qml/jsruntime/qv4function_p.h
+++ b/src/qml/jsruntime/qv4function_p.h
@@ -99,7 +99,6 @@ struct Function {
QVector<Value> generatedValues;
QVector<String *> identifiers;
QVector<Function *> nestedFunctions;
- Function *outer;
Lookup *lookups;
@@ -117,7 +116,6 @@ struct Function {
, code(0)
, codeData(0)
, codeSize(0)
- , outer(0)
, lookups(0)
, hasNestedFunctions(0)
, hasDirectEval(false)