git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2daadb4
)
regenerated
author
kramm
<kramm>
Tue, 23 Dec 2008 18:44:59 +0000
(18:44 +0000)
committer
kramm
<kramm>
Tue, 23 Dec 2008 18:44:59 +0000
(18:44 +0000)
lib/as3/opcodes.c
patch
|
blob
|
history
lib/as3/opcodes.h
patch
|
blob
|
history
diff --git
a/lib/as3/opcodes.c
b/lib/as3/opcodes.c
index
c333f3c
..
c6b9203
100644
(file)
--- a/
lib/as3/opcodes.c
+++ b/
lib/as3/opcodes.c
@@
-52,7
+52,7
@@
code_t* abc_call(code_t*prev, int v)
self->data[0] = (void*)(ptroff_t)v;
return self;
}
self->data[0] = (void*)(ptroff_t)v;
return self;
}
-code_t* abc_callmethod(code_t*prev, abc_method_body_t* m, int v)
+code_t* abc_callmethod(code_t*prev, abc_method_t* m, int v)
{
code_t*self = add_opcode(prev, 0x43);
self->data[0] = m;
{
code_t*self = add_opcode(prev, 0x43);
self->data[0] = m;
@@
-101,7
+101,7
@@
code_t* abc_callpropvoid2(code_t*prev, multiname_t* name, int v)
self->data[1] = (void*)(ptroff_t)v;
return self;
}
self->data[1] = (void*)(ptroff_t)v;
return self;
}
-code_t* abc_callstatic(code_t*prev, abc_method_t* m, int v)
+code_t* abc_callstatic(code_t*prev, abc_method_body_t* m, int v)
{
code_t*self = add_opcode(prev, 0x44);
self->data[0] = m;
{
code_t*self = add_opcode(prev, 0x44);
self->data[0] = m;
@@
-696,7
+696,7
@@
code_t* abc_newclass(code_t*prev, abc_class_t* m)
self->data[0] = m;
return self;
}
self->data[0] = m;
return self;
}
-code_t* abc_newfunction(code_t*prev, abc_method_body_t* m)
+code_t* abc_newfunction(code_t*prev, abc_method_t* m)
{
code_t*self = add_opcode(prev, 0x40);
self->data[0] = m;
{
code_t*self = add_opcode(prev, 0x40);
self->data[0] = m;
diff --git
a/lib/as3/opcodes.h
b/lib/as3/opcodes.h
index
ef9aa6d
..
85035be
100644
(file)
--- a/
lib/as3/opcodes.h
+++ b/
lib/as3/opcodes.h
@@
-33,7
+33,7
@@
code_t* abc_bitxor(code_t*prev);
code_t* abc_call(code_t*prev, int v);
#define call(method,v) (method->code = abc_call(method->code,v))
#define OPCODE_CALL 0x41
code_t* abc_call(code_t*prev, int v);
#define call(method,v) (method->code = abc_call(method->code,v))
#define OPCODE_CALL 0x41
-code_t* abc_callmethod(code_t*prev, abc_method_body_t* m, int v);
+code_t* abc_callmethod(code_t*prev, abc_method_t* m, int v);
#define callmethod(method,m,v) (method->code = abc_callmethod(method->code,m,v))
#define OPCODE_CALLMETHOD 0x43
code_t* abc_callproplex(code_t*prev, char* name, int v);
#define callmethod(method,m,v) (method->code = abc_callmethod(method->code,m,v))
#define OPCODE_CALLMETHOD 0x43
code_t* abc_callproplex(code_t*prev, char* name, int v);
@@
-54,7
+54,7
@@
code_t* abc_callpropvoid(code_t*prev, char* name, int v);
code_t* abc_callpropvoid2(code_t*prev, multiname_t* name, int v);
#define callpropvoid2(method,name,v) (method->code = abc_callpropvoid2(method->code,name,v))
#define OPCODE_CALLPROPVOID2 0x4f
code_t* abc_callpropvoid2(code_t*prev, multiname_t* name, int v);
#define callpropvoid2(method,name,v) (method->code = abc_callpropvoid2(method->code,name,v))
#define OPCODE_CALLPROPVOID2 0x4f
-code_t* abc_callstatic(code_t*prev, abc_method_t* m, int v);
+code_t* abc_callstatic(code_t*prev, abc_method_body_t* m, int v);
#define callstatic(method,m,v) (method->code = abc_callstatic(method->code,m,v))
#define OPCODE_CALLSTATIC 0x44
code_t* abc_callsuper(code_t*prev, char* name, int v);
#define callstatic(method,m,v) (method->code = abc_callstatic(method->code,m,v))
#define OPCODE_CALLSTATIC 0x44
code_t* abc_callsuper(code_t*prev, char* name, int v);
@@
-360,7
+360,7
@@
code_t* abc_newcatch(code_t*prev, int v);
code_t* abc_newclass(code_t*prev, abc_class_t* m);
#define newclass(method,m) (method->code = abc_newclass(method->code,m))
#define OPCODE_NEWCLASS 0x58
code_t* abc_newclass(code_t*prev, abc_class_t* m);
#define newclass(method,m) (method->code = abc_newclass(method->code,m))
#define OPCODE_NEWCLASS 0x58
-code_t* abc_newfunction(code_t*prev, abc_method_body_t* m);
+code_t* abc_newfunction(code_t*prev, abc_method_t* m);
#define newfunction(method,m) (method->code = abc_newfunction(method->code,m))
#define OPCODE_NEWFUNCTION 0x40
code_t* abc_newobject(code_t*prev, int v);
#define newfunction(method,m) (method->code = abc_newfunction(method->code,m))
#define OPCODE_NEWFUNCTION 0x40
code_t* abc_newobject(code_t*prev, int v);