Ugh. Replacing the fancy templates with hand coded sequences for now.

This commit is contained in:
Ben Vanik
2014-01-02 00:00:14 -08:00
parent 3e4f93a6a9
commit 125e7278c6
22 changed files with 784 additions and 771 deletions

View File

@@ -162,7 +162,7 @@ void HIRBuilder::Dump(StringBuffer* str) {
i = i->next;
continue;
}
if (i->opcode->num == OPCODE_COMMENT) {
if (i->opcode == &OPCODE_COMMENT_info) {
str->Append(" ; %s\n", (char*)i->src1.offset);
i = i->next;
continue;
@@ -222,6 +222,7 @@ Label* HIRBuilder::NewLabel() {
label->block = NULL;
label->id = next_label_id_++;
label->name = NULL;
label->tag = NULL;
return label;
}

View File

@@ -66,7 +66,6 @@ enum Swizzles {
enum Opcode {
OPCODE_COMMENT,
OPCODE_NOP,
OPCODE_SOURCE_OFFSET,