Add support for more bytecodes.

This commit is contained in:
Jon Riehl 2013-05-08 18:24:38 -05:00
commit 5ef00671e7
2 changed files with 13 additions and 5 deletions

View file

@ -31,9 +31,9 @@ OPCODE_MAP = {
'BINARY_TRUE_DIVIDE': (2, 1, None),
'BINARY_XOR': (2, 1, None),
'BREAK_LOOP': (0, None, 1),
'BUILD_CLASS': (None, None, None),
'BUILD_CLASS': (3, 1, None),
'BUILD_LIST': (-1, 1, None),
'BUILD_MAP': (None, None, None),
'BUILD_MAP': (-1, 1, None),
'BUILD_SET': (None, None, None),
'BUILD_SLICE': (None, None, None),
'BUILD_TUPLE': (-1, 1, None),
@ -62,7 +62,7 @@ OPCODE_MAP = {
'FOR_ITER': (1, 1, 1),
'GET_ITER': (1, 1, None),
'IMPORT_FROM': (None, None, None),
'IMPORT_NAME': (None, None, None),
'IMPORT_NAME': (2, 1, None),
'IMPORT_STAR': (1, None, 1),
'INPLACE_ADD': (2, 1, None),
'INPLACE_AND': (2, 1, None),