Added manual linkage to nobitey when target module isn't the same as the source module.

This commit is contained in:
Jon Riehl 2012-10-16 10:18:13 -05:00
commit 01d0ff4eba
5 changed files with 44 additions and 12 deletions

View file

@ -31,7 +31,8 @@ class BytecodeFlowBuilder (BytecodeIterVisitor):
if opname in opcode.opmap)
def _visit_op (self, i, op, arg, opname, pops, pushes, appends):
assert pops is not None
assert pops is not None, ('%s not well defined in opcode_util.'
'OPCODE_MAP' % opname)
if pops:
if pops < 0:
pops = arg - pops - 1