From fead9a05bc42e49aec762fcd35bd879863ac5be1 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Tue, 4 Oct 2016 00:56:02 -0700 Subject: [PATCH] Fix static_assert raised by commit 789975e35092621988058e19e92f599781445e11 --- Source/Core/Core/PowerPC/Jit64/Jit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit.cpp b/Source/Core/Core/PowerPC/Jit64/Jit.cpp index 40c5cbeb06..ab07bad715 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit.cpp @@ -996,7 +996,7 @@ void Jit64::IntializeSpeculativeConstants() MOV(32, PPCSTATE(pc), Imm32(js.blockStart)); ABI_PushRegistersAndAdjustStack({}, 0); ABI_CallFunctionC( - reinterpret_cast(&JitInterface::CompileExceptionCheck), + JitInterface::CompileExceptionCheck, static_cast(JitInterface::ExceptionType::EXCEPTIONS_SPECULATIVE_CONSTANTS)); ABI_PopRegistersAndAdjustStack({}, 0); JMP(asm_routines.dispatcher, true);