diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-11 15:47:53 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-11 15:47:53 +0200 |
commit | 7d41b95071a3e445b36c72fc6f2662e70bfe110e (patch) | |
tree | 4adb00928f477eb38d2e5d2e2b20c79ae62437ab /DevTools/UserspaceEmulator/SoftCPU.h | |
parent | e852768ba659b24eba78ada23ded37266c22f7d4 (diff) | |
download | serenity-7d41b95071a3e445b36c72fc6f2662e70bfe110e.zip |
UserspaceEmulator: Tweak INC and SAR helpers to not be SoftCPU members
It's quite nice having these as compartmentalized free functions.
Diffstat (limited to 'DevTools/UserspaceEmulator/SoftCPU.h')
-rw-r--r-- | DevTools/UserspaceEmulator/SoftCPU.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/DevTools/UserspaceEmulator/SoftCPU.h b/DevTools/UserspaceEmulator/SoftCPU.h index 18b3801c07..39c1ccfa06 100644 --- a/DevTools/UserspaceEmulator/SoftCPU.h +++ b/DevTools/UserspaceEmulator/SoftCPU.h @@ -767,11 +767,6 @@ private: template<bool update_dest, typename Op> void generic_reg8_RM8(Op, const X86::Instruction&); - template<typename T> - T sar_impl(T data, u8 steps); - template<typename T> - T inc_impl(T); - private: Emulator& m_emulator; |