calling an inferred async function

This commit is contained in:
Andrew Kelley
2019-07-25 00:03:06 -04:00
parent e220812f2f
commit ead2d32be8
7 changed files with 238 additions and 118 deletions

View File

@@ -898,6 +898,10 @@ LLVMValueRef ZigLLVMBuildAShrExact(LLVMBuilderRef builder, LLVMValueRef LHS, LLV
return wrap(unwrap(builder)->CreateAShr(unwrap(LHS), unwrap(RHS), name, true));
}
void ZigLLVMSetTailCall(LLVMValueRef Call) {
unwrap<CallInst>(Call)->setTailCallKind(CallInst::TCK_MustTail);
}
class MyOStream: public raw_ostream {
public: