self->data[0] = (void*)(ptroff_t)i;
return self;
}
-code_t* abc_pushnamespace(code_t*prev, int v)
+code_t* abc_pushnamespace(code_t*prev, namespace_t* ns)
{
code_t*self = add_opcode(prev, 0x31);
- self->data[0] = (void*)(ptroff_t)v;
+ self->data[0] = namespace_clone(ns);
return self;
}
code_t* abc_pushnan(code_t*prev)
self->data[0] = (void*)(ptroff_t)v;
return self;
}
+code_t* abc___pushpackage__(code_t*prev, char* name)
+{
+ code_t*self = add_opcode(prev, 0xfb);
+ self->data[0] = string_new4(name);
+ return self;
+}
+code_t* abc___pushpackage__2(code_t*prev, string_t* s)
+{
+ code_t*self = add_opcode(prev, 0xfb);
+ self->data[0] = string_dup3(s);
+ return self;
+}
+code_t* abc___rethrow__(code_t*prev)
+{
+ code_t*self = add_opcode(prev, 0xfc);
+ return self;
+}
code_t* abc___fallthrough__(code_t*prev, char* name)
{
code_t*self = add_opcode(prev, 0xfd);