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
1 changed files with 1 additions and 0 deletions

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;