Mercurial > paraspace
diff paraspace/injection.py @ 138:372009418896
Fix bug of redirect methodid for XXX_RANGE istructions
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 10 Aug 2011 14:28:24 +0800 |
parents | 987fead83ce3 |
children | 46e40afd4558 |
line wrap: on
line diff
--- a/paraspace/injection.py Wed Aug 10 14:04:02 2011 +0800 +++ b/paraspace/injection.py Wed Aug 10 14:28:24 2011 +0800 @@ -427,7 +427,7 @@ if methodidx not in methods_redir: return opcode, args - return opcode, (args[0], methodidx, args[2]) + return opcode, (args[0], methods_redir[methodidx], args[2]) return opcode, args new_op_vectors = [redirect(opcode, args) for opcode, args in op_vectors]