Commit 2c1b4069 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge pull request #410 from rntz/master

print HASNEXT primitive properly
parents 743cc66a 670469c4
...@@ -1481,6 +1481,9 @@ bool PrintVisitor::visit_langprimitive(AST_LangPrimitive* node) { ...@@ -1481,6 +1481,9 @@ bool PrintVisitor::visit_langprimitive(AST_LangPrimitive* node) {
case AST_LangPrimitive::UNCACHE_EXC_INFO: case AST_LangPrimitive::UNCACHE_EXC_INFO:
printf("UNCACHE_EXC_INFO"); printf("UNCACHE_EXC_INFO");
break; break;
case AST_LangPrimitive::HASNEXT:
printf("HASNEXT");
break;
default: default:
RELEASE_ASSERT(0, "%d", node->opcode); RELEASE_ASSERT(0, "%d", node->opcode);
} }
......
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