|
|
| version 1.1, 2001/02/20 18:45:52 | version 1.2, 2001/02/20 19:21:13 |
|---|---|
| Line 25 char *opcode_name[]={ | Line 25 char *opcode_name[]={ |
| }; | }; |
| void dump(int level, const Array *ops) { | void dump(int level, const Array *ops) { |
| if(!ops) | |
| return; | |
| int size=ops->size(); | int size=ops->size(); |
| for(int i=0; i<size; i++) { | for(int i=0; i<size; i++) { |
| int code=reinterpret_cast<int>(ops->raw_get(i)); | int code=reinterpret_cast<int>(ops->raw_get(i)); |
| Line 46 void execute(Pool *pool, const Array *op | Line 49 void execute(Pool *pool, const Array *op |
| if(!ops) | if(!ops) |
| return; | return; |
| puts("---------------------------"); | |
| dump(0, ops); | dump(0, ops); |
| puts("---------------------------"); | |
| } | } |