IR handles global variables correctly

This commit is contained in:
Andrew Kelley
2016-11-13 01:56:28 -05:00
parent a5c9da0de2
commit d4f2394dcf
4 changed files with 34 additions and 25 deletions

View File

@@ -655,7 +655,5 @@ void ast_render(FILE *f, AstNode *node, int indent_size) {
ar.indent_size = indent_size;
ar.indent = 0;
assert(node->type == NodeTypeRoot);
render_node(&ar, node);
}