diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-06-06 13:12:02 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-06-07 03:32:06 +0000 |
commit | 4f322f7f2c46e7ffc172400010a944afd4b51489 (patch) | |
tree | 90ea5bc2c027f4947e4a3aba4309c5540601dc9e /src/qml/compiler/qv4compiler_p.h | |
parent | 921c1e0e4f6f00f449136f116c6fc5f55fbf1df6 (diff) |
Clean up CompiledData::Function
* We don't need 64 bits for the flags, for now 8 bits are sufficient.
* Removed the unused index member. It's symmetric to the index of the
function object in the function table anyway.
Change-Id: I18248e8ed79b3c3af87e17689dadf7323d5d9bb3
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compiler_p.h')
-rw-r--r-- | src/qml/compiler/qv4compiler_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4compiler_p.h b/src/qml/compiler/qv4compiler_p.h index 0321a83b4f..df10e9919b 100644 --- a/src/qml/compiler/qv4compiler_p.h +++ b/src/qml/compiler/qv4compiler_p.h @@ -114,7 +114,7 @@ struct Q_QML_PRIVATE_EXPORT JSUnitGenerator { QV4::CompiledData::Unit *generateUnit(GeneratorOption option = GenerateWithStringTable); // Returns bytes written - int writeFunction(char *f, int index, IR::Function *irFunction); + int writeFunction(char *f, IR::Function *irFunction); StringTableGenerator stringTable; private: |