A little bit of code support now
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "code.h"
|
||||
#include "module.h"
|
||||
#include "data.h"
|
||||
|
||||
// Opcodes >= this value have an argument after the opcode
|
||||
#define HAVE_ARG 90
|
||||
@@ -129,4 +130,6 @@ bool IsCellArg(int opcode);
|
||||
|
||||
}
|
||||
|
||||
void print_const(PycRef<PycObject> obj, PycModule* mod);
|
||||
void bc_next(PycBuffer& source, PycModule* mod, int& opcode, int& operand, int& pos);
|
||||
void bc_disasm(PycRef<PycCode> code, PycModule* mod, int indent);
|
||||
|
Reference in New Issue
Block a user