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);
builder(std::ref(compiler), args);
ASSERT(compiler.getLastError() == 0);
FT result;