diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-02-28 22:18:48 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-02-28 22:18:48 -0500 |
| commit | 8429d4ceac4eb99fbe8aeca2ebe864dfd5b40470 (patch) | |
| tree | 693a05c4e44a5a1148505df8bf599ab5dda99fca /src/codegen.cpp | |
| parent | c6227661568a9e8cad9d28bd7a11cb76c4f9c1c1 (diff) | |
| download | zig-8429d4ceac4eb99fbe8aeca2ebe864dfd5b40470.tar.gz zig-8429d4ceac4eb99fbe8aeca2ebe864dfd5b40470.zip | |
implement coroutine resume
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index 315699b826..59956c9279 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -4004,7 +4004,7 @@ static LLVMValueRef ir_render_coro_save(CodeGen *g, IrExecutable *executable, Ir static LLVMValueRef get_coro_alloc_helper_fn_val(CodeGen *g, LLVMTypeRef alloc_fn_type_ref, TypeTableEntry *fn_type) { if (g->coro_alloc_helper_fn_val != nullptr) - return g->coro_alloc_fn_val; + return g->coro_alloc_helper_fn_val; assert(fn_type->id == TypeTableEntryIdFn); |
