diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-06-21 11:53:59 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-06-29 08:32:37 +0000 |
commit | 987734ff5872c397651630a616a002947fec3810 (patch) | |
tree | 24ff9af3166b1d2a017155120c51f6243f82ebac /src/qml/compiler/qv4bytecodegenerator.cpp | |
parent | 5bc982db0b995595f36d4c51ffcad99d2739d01b (diff) | |
download | qtdeclarative-987734ff5872c397651630a616a002947fec3810.tar.gz |
Rename push instruction to InitStackFrame
Change-Id: I67f8397686a439cede37b52863d32dc194bee23f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4bytecodegenerator.cpp')
-rw-r--r-- | src/qml/compiler/qv4bytecodegenerator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/compiler/qv4bytecodegenerator.cpp b/src/qml/compiler/qv4bytecodegenerator.cpp index 0d929014ff..8f9b062af6 100644 --- a/src/qml/compiler/qv4bytecodegenerator.cpp +++ b/src/qml/compiler/qv4bytecodegenerator.cpp @@ -67,10 +67,10 @@ QByteArray BytecodeGenerator::finalize() { QByteArray code; - Instruction::Push push; - push.instructionType = Instr::Push; - push.value = quint32(function->tempCount); - code.append(reinterpret_cast<const char *>(&push), InstrMeta<Instr::Push>::Size); + Instruction::InitStackFrame init; + init.instructionType = Instr::InitStackFrame; + init.value = quint32(function->tempCount); + code.append(reinterpret_cast<const char *>(&init), InstrMeta<Instr::InitStackFrame>::Size); // content QVector<int> instructionOffsets; |