Fix pointer differences (issue #11); remove #dll_import

This commit is contained in:
Ginger Bill
2017-01-26 17:39:44 +00:00
parent e85458919c
commit f47f25f942
9 changed files with 145 additions and 91 deletions
+3 -3
View File
@@ -1235,9 +1235,9 @@ void ir_print_instr(irFileBuffer *f, irModule *m, irValue *value) {
void ir_print_proc(irFileBuffer *f, irModule *m, irProcedure *proc) {
if (proc->body == NULL) {
ir_fprintf(f, "declare ");
if (proc->tags & ProcTag_dll_import) {
ir_fprintf(f, "dllimport ");
}
// if (proc->tags & ProcTag_dll_import) {
// ir_fprintf(f, "dllimport ");
// }
} else {
ir_fprintf(f, "\n");
ir_fprintf(f, "define ");