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:
acd4d2f
)
added assert() in cut_last_push
author
kramm
<kramm>
Tue, 6 Jan 2009 21:32:06 +0000
(21:32 +0000)
committer
kramm
<kramm>
Tue, 6 Jan 2009 21:32:06 +0000
(21:32 +0000)
lib/as3/code.c
patch
|
blob
|
history
diff --git
a/lib/as3/code.c
b/lib/as3/code.c
index
4f7e255
..
d5c3acf
100644
(file)
--- a/
lib/as3/code.c
+++ b/
lib/as3/code.c
@@
-1138,6
+1138,7
@@
code_t*code_cutlast(code_t*c)
code_t* cut_last_push(code_t*c)
{
code_t* cut_last_push(code_t*c)
{
+ assert(!c->next);
while(c) {
if(!c) break;
opcode_t*op = opcode_get(c->opcode);
while(c) {
if(!c) break;
opcode_t*op = opcode_get(c->opcode);