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 (from parent 1:
12e880e
)
regenerated
author
kramm
<kramm>
Mon, 24 Nov 2008 16:15:22 +0000
(16:15 +0000)
committer
kramm
<kramm>
Mon, 24 Nov 2008 16:15:22 +0000
(16:15 +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
197f917
..
4197ec3
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)
diff --git
a/lib/as3/opcodes.h
b/lib/as3/opcodes.h
index
e4cbb7a
..
d068e3c
100644
(file)
--- a/
lib/as3/opcodes.h
+++ b/
lib/as3/opcodes.h
@@
-263,8
+263,8
@@
code_t* abc_pushdouble(code_t*prev, double f);
#define pushdouble(method,f) (method->code = abc_pushdouble(method->code,f))
code_t* abc_pushfalse(code_t*prev);
#define pushfalse(method) (method->code = abc_pushfalse(method->code))
#define pushdouble(method,f) (method->code = abc_pushdouble(method->code,f))
code_t* abc_pushfalse(code_t*prev);
#define pushfalse(method) (method->code = abc_pushfalse(method->code))
-code_t* abc_pushint(code_t*prev, abc_method_t* m);
-#define pushint(method,m) (method->code = abc_pushint(method->code,m))
+code_t* abc_pushint(code_t*prev, int i);
+#define pushint(method,i) (method->code = abc_pushint(method->code,i))
code_t* abc_pushnamespace(code_t*prev, int v);
#define pushnamespace(method,v) (method->code = abc_pushnamespace(method->code,v))
code_t* abc_pushnan(code_t*prev);
code_t* abc_pushnamespace(code_t*prev, int v);
#define pushnamespace(method,v) (method->code = abc_pushnamespace(method->code,v))
code_t* abc_pushnan(code_t*prev);