aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jit/qv4assembler.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-06-06 14:22:38 +0200
committerLars Knoll <lars.knoll@qt.io>2018-06-21 19:43:20 +0000
commit5454b37f308e78e240ac19947121fae344cda606 (patch)
tree0ae53cb9914fcee7bdf9d1fdfc13fcbb92e95bce /src/qml/jit/qv4assembler.cpp
parent0363f0f4f8870db20c630cd2af94e0b05255d036 (diff)
Get rid of the unused JumpEmpty instruction
Change-Id: I117687939e0f02d801dbad8de7761b4c799f2035 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jit/qv4assembler.cpp')
-rw-r--r--src/qml/jit/qv4assembler.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/qml/jit/qv4assembler.cpp b/src/qml/jit/qv4assembler.cpp
index 5702774cd7..bf7fb8a536 100644
--- a/src/qml/jit/qv4assembler.cpp
+++ b/src/qml/jit/qv4assembler.cpp
@@ -706,12 +706,6 @@ struct PlatformAssembler64 : PlatformAssemblerCommon
patches.push_back({ jump, offset });
}
- void jumpEmpty(int offset)
- {
- auto jump = branch64(Equal, AccumulatorRegister, TrustedImm64(Primitive::emptyValue().asReturnedValue()));
- patches.push_back({ jump, offset });
- }
-
Jump jumpEmpty()
{
return branch64(Equal, AccumulatorRegister, TrustedImm64(Primitive::emptyValue().asReturnedValue()));
@@ -1140,14 +1134,6 @@ struct PlatformAssembler32 : PlatformAssemblerCommon
patches.push_back({ jump, offset });
}
- void jumpEmpty(int offset)
- {
- auto notEqual = branch32(NotEqual, AccumulatorRegisterTag, TrustedImm32(Primitive::emptyValue().asReturnedValue() >> 32));
- auto jump = branch32(Equal, AccumulatorRegisterValue, TrustedImm32(Primitive::emptyValue().asReturnedValue() & 0xffffffff));
- notEqual.link(this);
- patches.push_back({ jump, offset });
- }
-
Jump jumpEmpty()
{
return branch32(Equal, AccumulatorRegisterTag, TrustedImm32(Primitive::emptyValue().asReturnedValue() >> 32));
@@ -1986,11 +1972,6 @@ void Assembler::jumpNotUndefined(int offset)
pasm()->jumpNotUndefined(offset);
}
-void JIT::Assembler::jumpEmpty(int offset)
-{
- pasm()->jumpEmpty(offset);
-}
-
void Assembler::prepareCallWithArgCount(int argc)
{
#ifndef QT_NO_DEBUG