From 4d329ef984d0f64b9446321ef63fc5a70cd103cd Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 12 Jun 2017 16:07:27 +0200 Subject: Add the push instruction required to set up the temps And a commented out finalize() call to the bytecodegenerator Change-Id: Iaaf8981ee658e19b6816589d4340a8e5744764b7 Reviewed-by: Erik Verbruggen --- src/qml/compiler/qv4bytecodegenerator_p.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/qml/compiler/qv4bytecodegenerator_p.h') diff --git a/src/qml/compiler/qv4bytecodegenerator_p.h b/src/qml/compiler/qv4bytecodegenerator_p.h index d3fe18c7c3..7996374175 100644 --- a/src/qml/compiler/qv4bytecodegenerator_p.h +++ b/src/qml/compiler/qv4bytecodegenerator_p.h @@ -78,7 +78,8 @@ public: CodeRef addInstruction(const InstrData &data) { Instr genericInstr; - InstrMeta::setData(genericInstr, data); + genericInstr.common.instructionType = static_cast(InstrT); + InstrMeta::setDataNoCommon(genericInstr, data); return { addInstructionHelper(InstrMeta::Size, genericInstr) }; } -- cgit v1.2.3