diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-05-19 14:35:04 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-26 21:09:41 +0200 |
commit | 578f775db4888184f029987c4953c9e3123a76e6 (patch) | |
tree | 8566c935bdc00e91d2229611e9fdb0133b34262b /src | |
parent | d8375954d18d501e9f9cff08e8d8210a3c864f33 (diff) |
V4 JIT: fix usage of d1 on ARM.
The d1 register is used by the JIT as a scratch register, so it is not
available for the register allocator. If it would be used for register
allocation, the JIT code generation might override it with something
else, thereby clobbering the result.
Change-Id: Iaf7db873d78e84c28ac9ea341f9d6da76330fe81
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/jit/qv4isel_masm.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jit/qv4isel_masm.cpp b/src/qml/jit/qv4isel_masm.cpp index 3307fcc0d1..17e2730669 100644 --- a/src/qml/jit/qv4isel_masm.cpp +++ b/src/qml/jit/qv4isel_masm.cpp @@ -268,7 +268,6 @@ static QVector<int> getIntRegisters() static QVector<int> getFpRegisters() { static const QVector<int> fpRegisters = QVector<int>() - << JSC::ARMRegisters::d1 << JSC::ARMRegisters::d2 << JSC::ARMRegisters::d3 << JSC::ARMRegisters::d4 |