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:
parent
d0057c92e4
commit
15efb73aae
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user