Prepare for M1 Mac

This commit is contained in:
gingerBill
2020-11-24 12:20:48 +00:00
parent a55568b0c4
commit 776c3f4e90
3 changed files with 111 additions and 4 deletions

View File

@@ -8312,8 +8312,8 @@ lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValue const &tv,
{
LLVMTypeRef func_type = LLVMFunctionType(LLVMVoidTypeInContext(p->module->ctx), nullptr, 0, false);
LLVMValueRef the_asm = LLVMGetInlineAsm(func_type,
"pause", 5,
"", 0,
cast(char *)"pause", 5,
cast(char *)"", 0,
/*HasSideEffects*/true, /*IsAlignStack*/false,
LLVMInlineAsmDialectATT
);