More AST dumps fixed. Throw simplified by removing "DECL_THROW", which also unearthed a bug.

This commit is contained in:
Christoffer Lerno
2020-05-07 11:46:16 +02:00
parent 89ce6064e1
commit dbce72146f
16 changed files with 163 additions and 239 deletions

View File

@@ -1133,7 +1133,7 @@ static inline bool gencontext_emit_throw_branch_for_single_throw(GenContext *con
}
static inline void gencontext_emit_throw_branch(GenContext *context, LLVMValueRef value, Decl** errors, ThrowInfo *throw_info, ErrorReturn error_return)
static inline void gencontext_emit_throw_branch(GenContext *context, LLVMValueRef value, TypeInfo** errors, ThrowInfo *throw_info, ErrorReturn error_return)
{
Type *call_error_type;
switch (error_return)