git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
as3: Ast supports brackets now, too. Fixed Math bug in builtins.c
[swftools.git]
/
lib
/
as3
/
opcodes.c
diff --git
a/lib/as3/opcodes.c
b/lib/as3/opcodes.c
index
9030f46
..
93215f0
100644
(file)
--- a/
lib/as3/opcodes.c
+++ b/
lib/as3/opcodes.c
@@
-775,10
+775,10
@@
code_t* abc_pushint(code_t*prev, int i)
self->data[0] = (void*)(ptroff_t)i;
return self;
}
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);
{
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)
return self;
}
code_t* abc_pushnan(code_t*prev)