From 126088f035bb2039eb5a6005b3fe0999cf8f21ad Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 25 Jun 2019 11:28:33 +0000 Subject: [PATCH] Remove ifdef'd out Gv_DivVar() generation with VM_GAMEVAR_OPERATOR macro because LIBDIVIDE_ALWAYS is going away git-svn-id: https://svn.eduke32.com/eduke32@7699 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/gamevars.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/duke3d/src/gamevars.h b/source/duke3d/src/gamevars.h index 70962a7c2..7c78b6a3b 100644 --- a/source/duke3d/src/gamevars.h +++ b/source/duke3d/src/gamevars.h @@ -233,7 +233,6 @@ static FORCE_INLINE void __fastcall VM_SetStruct(uint32_t const flags, intptr_t } \ } -#if defined(__arm__) || defined(LIBDIVIDE_ALWAYS) static FORCE_INLINE void __fastcall Gv_DivVar(int const id, int32_t const operand) { auto &var = aGameVars[id]; @@ -282,9 +281,6 @@ skip: *iptr = libdivide_s32_do(*iptr, dptr); } -#else -VM_GAMEVAR_OPERATOR(Gv_DivVar, /= ) -#endif VM_GAMEVAR_OPERATOR(Gv_AddVar, +=) VM_GAMEVAR_OPERATOR(Gv_SubVar, -=)