Commit 8ffe567c authored by Laszlo Domoszlai's avatar Laszlo Domoszlai
Browse files

fix clang generated code

parent 80ab7165
TARGET = main
LIBS =
CC = g++
CC = clang++
CFLAGS = -g -Wno-write-strings
.PHONY: default all clean
......
......@@ -170,4 +170,6 @@ exec(Code* expr, int frame_ptr, Thunk* target, bool force)
printf("Exec: Unhandled CODE type");
exit(-1);
}
return NULL;
}
......@@ -21,6 +21,8 @@ typedef struct __attribute__((packed)) Thunk {
};
} Thunk;
#pragma pack(pop)
Thunk* forward_to(Thunk* target, Thunk* thunk);
struct Thunk* updateI(Thunk* target, int i);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment