| ... | @@ -704,7 +704,6 @@ static ZigLLVMDIScope *get_di_scope(CodeGen *g, Scope *scope) { | ... | @@ -704,7 +704,6 @@ static ZigLLVMDIScope *get_di_scope(CodeGen *g, Scope *scope) { |
| 704 | return scope->di_scope; | 704 | return scope->di_scope; |
| 705 | case ScopeIdBlock: | 705 | case ScopeIdBlock: |
| 706 | case ScopeIdDefer: | 706 | case ScopeIdDefer: |
| 707 | case ScopeIdVarDecl: | | |
| 708 | { | 707 | { |
| 709 | assert(scope->parent); | 708 | assert(scope->parent); |
| 710 | ZigLLVMDILexicalBlock *di_block = ZigLLVMCreateLexicalBlock(g->dbuilder, | 709 | ZigLLVMDILexicalBlock *di_block = ZigLLVMCreateLexicalBlock(g->dbuilder, |
| ... | @@ -715,6 +714,7 @@ static ZigLLVMDIScope *get_di_scope(CodeGen *g, Scope *scope) { | ... | @@ -715,6 +714,7 @@ static ZigLLVMDIScope *get_di_scope(CodeGen *g, Scope *scope) { |
| 715 | scope->di_scope = ZigLLVMLexicalBlockToScope(di_block); | 714 | scope->di_scope = ZigLLVMLexicalBlockToScope(di_block); |
| 716 | return scope->di_scope; | 715 | return scope->di_scope; |
| 717 | } | 716 | } |
| | 717 | case ScopeIdVarDecl: |
| 718 | case ScopeIdDeferExpr: | 718 | case ScopeIdDeferExpr: |
| 719 | case ScopeIdLoop: | 719 | case ScopeIdLoop: |
| 720 | case ScopeIdSuspend: | 720 | case ScopeIdSuspend: |