From 06ec6ab0da09edc20c9d691452bd99bc0428a19a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 16 Apr 2019 21:36:15 -0400 Subject: [PATCH] frontend/ir/cond: Remove unused invert() function This is no longer used by anything in the codebase, so it can be removed. --- src/frontend/ir/cond.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/frontend/ir/cond.h b/src/frontend/ir/cond.h index b4b7d94d..8e5b1500 100644 --- a/src/frontend/ir/cond.h +++ b/src/frontend/ir/cond.h @@ -6,8 +6,6 @@ #pragma once -#include "common/common_types.h" - namespace Dynarmic::IR { enum class Cond { @@ -15,8 +13,4 @@ enum class Cond { HS = CS, LO = CC, }; -inline Cond invert(Cond c) { - return static_cast(static_cast(c) ^ 1); -} - } // namespace Dynarmic::IR