diff options
Diffstat (limited to 'src/qml/jit/qv4targetplatform_p.h')
-rw-r--r-- | src/qml/jit/qv4targetplatform_p.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/qml/jit/qv4targetplatform_p.h b/src/qml/jit/qv4targetplatform_p.h index 4b384d2fe9..b32fe66ac3 100644 --- a/src/qml/jit/qv4targetplatform_p.h +++ b/src/qml/jit/qv4targetplatform_p.h @@ -354,30 +354,6 @@ public: // utility functions return info; } - - static RegisterInformation &getCalleeSavedRegisters() - { - static RegisterInformation regs; - if (regs.isEmpty()) { - foreach (const RegisterInfo &info, getRegisterInfo()) { -#if defined(RESTORE_EBX_ON_CALL) - if (info.reg<JSC::X86Registers::RegisterID>() == JSC::X86Registers::ebx) { - regs.append(info); - continue; - } -#endif // RESTORE_EBX_ON_CALL - if (info.isCalleeSaved()) - regs.append(info); - } - } - - return regs; - } - - static int calleeSavedRegisterCount() - { - return getCalleeSavedRegisters().size(); - } }; } // JIT namespace |