aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8cbc9b0d8c..2b65999e3b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1188,8 +1188,7 @@ int main(int argc, char **argv) {
zig_unreachable();
}
} else if (cmd == CmdTranslateC || cmd == CmdTranslateCUserland) {
- AstNode *root_node = codegen_translate_c(g, in_file_buf, cmd == CmdTranslateCUserland);
- ast_render(g, stdout, root_node, 4);
+ codegen_translate_c(g, in_file_buf, stdout, cmd == CmdTranslateCUserland);
if (timing_info)
codegen_print_timing_report(g, stderr);
return EXIT_SUCCESS;