modification of LIST_APPEND opcode handling

This commit is contained in:
Mysterie
2012-12-14 17:22:59 +01:00
parent 60869b0399
commit 3956a5a709
7 changed files with 308 additions and 177 deletions

View File

@@ -194,6 +194,12 @@ class Scanner27(scan.Scanner):
print >>out
return rv, customize
def op_size(self, op):
if op < self.opc.HAVE_ARGUMENT:
return 1
else:
return 3
def build_stmt_indices(self):
code = self.code
start = 0;