This commit is contained in:
Zachary Pierson
2017-02-12 16:04:13 -06:00
13 changed files with 433 additions and 427 deletions
+4 -5
View File
@@ -4,7 +4,7 @@ extern "C" {
#include "common.c"
#include "timings.c"
#include "build.c"
#include "build_settings.c"
#include "tokenizer.c"
#include "parser.c"
// #include "printer.c"
@@ -150,10 +150,9 @@ int main(int argc, char **argv) {
#if 1
BuildContext build_context = {0};
init_build_context(&build_context);
init_build_context();
init_universal_scope(&build_context);
init_universal_scope();
char *init_filename = NULL;
bool run_output = false;
@@ -227,7 +226,7 @@ int main(int argc, char **argv) {
#if 1
irGen ir_gen = {0};
if (!ir_gen_init(&ir_gen, &checker, &build_context)) {
if (!ir_gen_init(&ir_gen, &checker)) {
return 1;
}
// defer (ssa_gen_destroy(&ir_gen));