Author: Armin Rigo <[email protected]>
Branch: all_ordered_dicts
Changeset: r74970:f3acf053a316
Date: 2014-12-17 14:59 +0100
http://bitbucket.org/pypy/pypy/changeset/f3acf053a316/

Log:    remove dead lines

diff --git a/rpython/rtyper/lltypesystem/rordereddict.py 
b/rpython/rtyper/lltypesystem/rordereddict.py
--- a/rpython/rtyper/lltypesystem/rordereddict.py
+++ b/rpython/rtyper/lltypesystem/rordereddict.py
@@ -42,7 +42,6 @@
 #
 
 def ll_call_lookup_function(d, key, hash, flag):
-    DICT = lltype.typeOf(d).TO
     fun = d.lookup_function_no
     if fun == FUNC_BYTE:
         return ll_dict_lookup(d, key, hash, flag, TYPE_BYTE)
@@ -451,7 +450,6 @@
         rgc.ll_arrayclear(lltype.cast_opaque_ptr(DICTINDEX_LONG, d.indexes))
 
 def ll_call_insert_clean_function(d, hash, i):
-    DICT = lltype.typeOf(d).TO
     if d.lookup_function_no == FUNC_BYTE:
         ll_dict_store_clean(d, hash, i, TYPE_BYTE)
     elif d.lookup_function_no == FUNC_SHORT:
@@ -464,7 +462,6 @@
         assert False
 
 def ll_call_delete_by_entry_index(d, hash, i):
-    DICT = lltype.typeOf(d).TO
     if d.lookup_function_no == FUNC_BYTE:
         ll_dict_delete_by_entry_index(d, hash, i, TYPE_BYTE)
     elif d.lookup_function_no == FUNC_SHORT:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to