diff options
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h')
| -rw-r--r-- | lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h b/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h index fe1af6dbe16..316aed2ba50 100644 --- a/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h +++ b/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h @@ -223,15 +223,6 @@ protected: static const DNBRegisterSetInfo * GetRegisterSetInfo(nub_size_t *num_reg_sets); - static bool - CPUHasAVX() - { - if (s_has_avx == kAVXUnknown) - s_has_avx = (::HasAVX() ? kAVXPresent : kAVXNotPresent); - - return (s_has_avx == kAVXPresent); - } - // Helper functions for watchpoint manipulations. static void SetWatchpoint(DBG &debug_state, uint32_t hw_index, nub_addr_t addr, nub_size_t size, bool read, bool write); static void ClearWatchpoint(DBG &debug_state, uint32_t hw_index); @@ -242,12 +233,6 @@ protected: MachThread *m_thread; State m_state; - - static enum AVXPresence { - kAVXPresent, - kAVXNotPresent, - kAVXUnknown - } s_has_avx; }; #endif // #if defined (__i386__) || defined (__x86_64__) |

