Restart LLVM IR SSA generation

This is the third go and I'm going for it!
This commit is contained in:
gingerBill
2016-07-30 00:09:30 +01:00
parent 32ab8fcf99
commit 776dc0e8f1
20 changed files with 1843 additions and 507 deletions

View File

@@ -11,6 +11,8 @@ typedef struct String {
#define LIT(x) (x).len, (x).text
gb_inline String make_string(u8 *text, isize len) {
String s;
s.text = text;
@@ -90,6 +92,9 @@ gb_inline u64 hash_pointer(void *ptr) {
#define gb_for_array(index_, array_) for (isize index_ = 0; index_ < gb_array_count(array_); index_++)
// Doubly Linked Lists
#define DLIST_SET(curr_element, next_element) do { \