numerous small bugfixes
[swftools.git] / lib / as3 / opcodes.c
index dfd29c6..9030f46 100644 (file)
@@ -953,6 +953,18 @@ code_t* abc_applytype(code_t*prev, int v)
     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);