From 2b09bad438f6e9725584508726ca00c84eee75ae Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 6 Jan 2009 21:32:06 +0000 Subject: [PATCH] added assert() in cut_last_push --- lib/as3/code.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/as3/code.c b/lib/as3/code.c index 4f7e255..d5c3acf 100644 --- 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) { + assert(!c->next); while(c) { if(!c) break; opcode_t*op = opcode_get(c->opcode); -- 1.7.10.4