diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-03-24 22:05:29 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-03-24 22:07:12 -0400 |
| commit | aa2995ee395b2c1329a61513debcac6225fcb8a8 (patch) | |
| tree | b96e44da1d55ee671538c775ca5aeb9d91f2c0a7 /src/analyze.hpp | |
| parent | a43c7af3d1e41ccee73678f114bb3844febcaad6 (diff) | |
| download | zig-aa2995ee395b2c1329a61513debcac6225fcb8a8.tar.gz zig-aa2995ee395b2c1329a61513debcac6225fcb8a8.zip | |
fix invalid codegen for error return traces across suspend points
See #821
Now the code works correctly, but error return traces are missing
the frames from coroutines.
Diffstat (limited to 'src/analyze.hpp')
| -rw-r--r-- | src/analyze.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/analyze.hpp b/src/analyze.hpp index 936134030d..aa4557666b 100644 --- a/src/analyze.hpp +++ b/src/analyze.hpp @@ -107,6 +107,7 @@ ScopeLoop *create_loop_scope(AstNode *node, Scope *parent); ScopeFnDef *create_fndef_scope(AstNode *node, Scope *parent, FnTableEntry *fn_entry); ScopeDecls *create_decls_scope(AstNode *node, Scope *parent, TypeTableEntry *container_type, ImportTableEntry *import); Scope *create_comptime_scope(AstNode *node, Scope *parent); +Scope *create_coro_prelude_scope(AstNode *node, Scope *parent); void init_const_str_lit(CodeGen *g, ConstExprValue *const_val, Buf *str); ConstExprValue *create_const_str_lit(CodeGen *g, Buf *str); |
