Switchable array bounds checking

This commit is contained in:
Ginger Bill
2016-09-12 14:41:36 +01:00
parent 687e78d5dd
commit 9ff4a8b5ab
20 changed files with 243 additions and 1840 deletions

View File

@@ -23,7 +23,7 @@ b32 ssa_gen_init(ssaGen *s, Checker *c) {
return false;
}
ssa_module_init(&s->module, c);
ssa_init_module(&s->module, c);
// TODO(bill): generate appropriate output name
isize pos = string_extension_position(c->parser->init_fullpath);
@@ -35,7 +35,7 @@ b32 ssa_gen_init(ssaGen *s, Checker *c) {
}
void ssa_gen_destroy(ssaGen *s) {
ssa_module_destroy(&s->module);
ssa_destroy_module(&s->module);
gb_file_close(&s->output_file);
}