Mercurial > paraspace
changeset 112:650dcb9c01ee
Remove unused code
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 02 Aug 2011 13:49:41 +0800 |
parents | 3820379b34e8 |
children | ee13c86d84f2 |
files | paraspace/injection.py |
diffstat | 1 files changed, 0 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/paraspace/injection.py Mon Aug 01 22:23:55 2011 +0800 +++ b/paraspace/injection.py Tue Aug 02 13:49:41 2011 +0800 @@ -382,28 +382,6 @@ return opcode, (args[0], args[1], methods_redir[methodidx], args[3], args[4], args[5], args[6]) - methodid = dex.find_methodid_idx(methodidx) - method_typeid = methodid.classIdx - method_typeidx = dex.get_idx_typeid(method_typeid) - if method_typeidx not in types_redir: - method_typeid = dex.find_typeid_idx(method_typeidx - 1) - return opcode, args - - new_method_typeidx = types_redir[method_typeidx] - new_method_typeid = dex.find_typeid_idx(new_method_typeidx) - classdef = dex.find_class_typeid(new_method_typeid) - method_name = DEXFile_linked.get_methodid_name(methodid) - method_proto = methodid.protoIdx - - try: - new_method = dex.find_method_name_proto(method_name, - method_proto, - classdef) - except ValueError: - return opcode, args - new_method_idx = dex.get_idx_method(new_method) - return opcode, (args[0], args[1], new_method_idx, - args[3], args[4], args[5], args[6]) return opcode, args new_op_vectors = [redirect(opcode, args) for opcode, args in op_vectors]