From 39afeb490fca7f896d2a59eb757e7712ebf484b8 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 14 Nov 2014 22:51:21 -0800 Subject: [PATCH] x86jit: Add some typesafety. --- Core/MIPS/x86/RegCacheFPU.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Core/MIPS/x86/RegCacheFPU.h b/Core/MIPS/x86/RegCacheFPU.h index 8f352983a7..145e7c3fb1 100644 --- a/Core/MIPS/x86/RegCacheFPU.h +++ b/Core/MIPS/x86/RegCacheFPU.h @@ -154,6 +154,9 @@ public: return (X64Reg)-1; } + // Just to avoid coding mistakes, defined here to prevent compilation. + void R(X64Reg r); + // Register locking. Prevents them from being spilled. void SpillLock(int p1, int p2=0xff, int p3=0xff, int p4=0xff); void ReleaseSpillLock(int mipsrega);