Ugh. Replacing the fancy templates with hand coded sequences for now.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -66,7 +66,6 @@ enum Swizzles {
|
||||
|
||||
enum Opcode {
|
||||
OPCODE_COMMENT,
|
||||
|
||||
OPCODE_NOP,
|
||||
|
||||
OPCODE_SOURCE_OFFSET,
|
||||
|
||||
Reference in New Issue
Block a user