diff options
Diffstat (limited to 'src/qml/jit/qv4assembler.cpp')
-rw-r--r-- | src/qml/jit/qv4assembler.cpp | 19 |
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 |