From fbe02e3ad5168e9cd486964c96c104f0b9a166b2 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 16 Nov 2023 23:37:37 -0500 Subject: [PATCH] Randomly try a different explicit instantiation. --- InstructionSets/x86/Decoder.cpp | 18 +++++++++++++++--- .../MachinePicker/MachinePicker.swift | 4 ++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/InstructionSets/x86/Decoder.cpp b/InstructionSets/x86/Decoder.cpp index 95cb5e14a..0407e01fb 100644 --- a/InstructionSets/x86/Decoder.cpp +++ b/InstructionSets/x86/Decoder.cpp @@ -1119,7 +1119,19 @@ template void Decoder::set_32bit_protected_mode(bool enable } // Ensure all possible decoders are built. -template class InstructionSet::x86::Decoder; -template class InstructionSet::x86::Decoder; -template class InstructionSet::x86::Decoder; +//template class InstructionSet::x86::Decoder; +//template class InstructionSet::x86::Decoder; +//template class InstructionSet::x86::Decoder; template class InstructionSet::x86::Decoder; + +template +std::pair::InstructionT> +Decoder::decode(const uint8_t *, size_t); + +template +std::pair::InstructionT> +Decoder::decode(const uint8_t *, size_t); + +template +std::pair::InstructionT> +Decoder::decode(const uint8_t *, size_t); diff --git a/OSBindings/Mac/Clock Signal/MachinePicker/MachinePicker.swift b/OSBindings/Mac/Clock Signal/MachinePicker/MachinePicker.swift index fd970f7e5..b96df685d 100644 --- a/OSBindings/Mac/Clock Signal/MachinePicker/MachinePicker.swift +++ b/OSBindings/Mac/Clock Signal/MachinePicker/MachinePicker.swift @@ -89,8 +89,8 @@ class MachinePicker: NSObject, NSTableViewDataSource, NSTableViewDelegate { let appleIIgsTabIndex = machineSelector.indexOfTabViewItem(withIdentifier: "appleiigs") machineSelector.removeTabViewItem(machineSelector.tabViewItem(at: appleIIgsTabIndex)) - let pcTabIndex = machineSelector.indexOfTabViewItem(withIdentifier: "pc") - machineSelector.removeTabViewItem(machineSelector.tabViewItem(at: pcTabIndex)) +// let pcTabIndex = machineSelector.indexOfTabViewItem(withIdentifier: "pc") +// machineSelector.removeTabViewItem(machineSelector.tabViewItem(at: pcTabIndex)) machineNameTable.reloadData()