diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-03-01 15:46:35 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-03-01 15:46:35 -0500 |
| commit | 8a0e1d4c02480809fe7ab9ee40ce279ffcb4fd16 (patch) | |
| tree | 057dd60209228dee4b821288a41b167702f9bf92 /src/all_types.hpp | |
| parent | a7c87ae1e4b621291a844df678cbe0fbfb531029 (diff) | |
| download | zig-8a0e1d4c02480809fe7ab9ee40ce279ffcb4fd16.tar.gz zig-8a0e1d4c02480809fe7ab9ee40ce279ffcb4fd16.zip | |
await keyword works
Diffstat (limited to 'src/all_types.hpp')
| -rw-r--r-- | src/all_types.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp index 503d45fd9b..72ec860556 100644 --- a/src/all_types.hpp +++ b/src/all_types.hpp @@ -58,8 +58,9 @@ struct IrExecutable { ZigList<Tld *> tld_list; IrInstruction *coro_handle; - IrInstruction *coro_awaiter_field_ptr; + IrInstruction *coro_awaiter_field_ptr; // this one is shared and in the promise IrInstruction *coro_result_ptr_field_ptr; + IrInstruction *await_handle_var_ptr; // this one is where we put the one we extracted from the promise IrBasicBlock *coro_early_final; IrBasicBlock *coro_normal_final; IrBasicBlock *coro_suspend_block; |
