1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Add assert in build_function_asm to not ignore errors

This commit is contained in:
Nekotekina 2020-10-17 21:55:22 +03:00
parent d0057c92e4
commit 15efb73aae

View File

@ -89,6 +89,7 @@ inline FT build_function_asm(F&& builder)
X86Assembler compiler(&code); X86Assembler compiler(&code);
builder(std::ref(compiler), args); builder(std::ref(compiler), args);
ASSERT(compiler.getLastError() == 0);
FT result; FT result;