aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
-rw-r--r--src/qml/compiler/qv4codegen.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp
index 9014ad3a98..995038e95c 100644
--- a/src/qml/compiler/qv4codegen.cpp
+++ b/src/qml/compiler/qv4codegen.cpp
@@ -1971,14 +1971,12 @@ bool Codegen::visit(CallExpression *ast)
auto jumpLabel = ast->isOptional ? m_optionalChainLabels.take(ast) : *base.optionalChainJumpLabel.get();
- auto acc = Reference::fromAccumulator(this).storeOnStack();
base.loadInAccumulator();
bytecodeGenerator->addInstruction(Instruction::CmpEqNull());
auto jumpFalse = bytecodeGenerator->jumpFalse();
bytecodeGenerator->addInstruction(Instruction::LoadUndefined());
bytecodeGenerator->jump().link(jumpLabel);
jumpFalse.link();
- acc.loadInAccumulator();
}
auto calldata = pushArgs(ast->arguments);