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:
09a4fd0
)
fixed double is_getlocal() definition
author
Matthias Kramm
<kramm@quiss.org>
Wed, 5 Aug 2009 10:29:29 +0000
(12:29 +0200)
committer
Matthias Kramm
<kramm@quiss.org>
Wed, 5 Aug 2009 10:29:29 +0000
(12:29 +0200)
lib/as3/expr.c
patch
|
blob
|
history
diff --git
a/lib/as3/expr.c
b/lib/as3/expr.c
index
c5cd0ea
..
33491d3
100644
(file)
--- a/
lib/as3/expr.c
+++ b/
lib/as3/expr.c
@@
-90,16
+90,6
@@
static classinfo_t*join_types(classinfo_t*type1, classinfo_t*type2, nodetype_t*t
return type1;
return TYPE_ANY;
}
-static char is_getlocal(code_t*c)
-{
- if(!c || c->prev || c->next)
- return 0;
- return(c->opcode == OPCODE_GETLOCAL
- || c->opcode == OPCODE_GETLOCAL_0
- || c->opcode == OPCODE_GETLOCAL_1
- || c->opcode == OPCODE_GETLOCAL_2
- || c->opcode == OPCODE_GETLOCAL_3);
-}
static int getlocalnr(code_t*c)
{
if(c->opcode == OPCODE_GETLOCAL) {return (ptroff_t)c->data[0];}