git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed parent element in abc_code
[swftools.git]
/
lib
/
as3
/
code.h
diff --git
a/lib/as3/code.h
b/lib/as3/code.h
index
fb94bd4
..
7392377
100644
(file)
--- a/
lib/as3/code.h
+++ b/
lib/as3/code.h
@@
-21,15
+21,14
@@
typedef struct _opcode
} opcode_t;
struct _abc_code {
} opcode_t;
struct _abc_code {
- U8 opcode;
- U8 len;
void*data[2];
abc_code_t*next;
abc_code_t*prev;
void*data[2];
abc_code_t*next;
abc_code_t*prev;
- abc_code_t*parent;
abc_code_t*branch;
int pos; //used during code path evaluation
abc_code_t*branch;
int pos; //used during code path evaluation
+
+ U8 opcode;
};
struct _codestats {
};
struct _codestats {
@@
-46,5
+45,7
@@
int code_dump(abc_code_t*c, abc_file_t*file, char*prefix, FILE*fo);
void code_write(TAG*tag, abc_code_t*code, pool_t*pool, abc_file_t*file);
void code_free(abc_code_t*c);
void code_write(TAG*tag, abc_code_t*code, pool_t*pool, abc_file_t*file);
void code_free(abc_code_t*c);
+codestats_t code_get_statistics(abc_code_t*code);
+
#endif
#endif