git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switched from multiname to own types
[swftools.git]
/
lib
/
as3
/
opcodes.c
diff --git
a/lib/as3/opcodes.c
b/lib/as3/opcodes.c
index
197f917
..
e8ec223
100644
(file)
--- a/
lib/as3/opcodes.c
+++ b/
lib/as3/opcodes.c
@@
-757,10
+757,10
@@
code_t* abc_pushfalse(code_t*prev)
code_t*self = add_opcode(prev, 0x27);
return self;
}
code_t*self = add_opcode(prev, 0x27);
return self;
}
-code_t* abc_pushint(code_t*prev, abc_method_t* m)
+code_t* abc_pushint(code_t*prev, int i)
{
code_t*self = add_opcode(prev, 0x2d);
{
code_t*self = add_opcode(prev, 0x2d);
- self->data[0] = m;
+ self->data[0] = (void*)(ptroff_t)i;
return self;
}
code_t* abc_pushnamespace(code_t*prev, int v)
return self;
}
code_t* abc_pushnamespace(code_t*prev, int v)
@@
-929,3
+929,8
@@
code_t* abc_urshift(code_t*prev)
code_t*self = add_opcode(prev, 0xa7);
return self;
}
code_t*self = add_opcode(prev, 0xa7);
return self;
}
+code_t* abc___break__(code_t*prev)
+{
+ code_t*self = add_opcode(prev, 0xff);
+ return self;
+}