Author: Antonio Cuni <[email protected]>
Branch: ffistruct
Changeset: r47150:ba6f286d77a8
Date: 2011-09-07 17:55 +0200
http://bitbucket.org/pypy/pypy/changeset/ba6f286d77a8/

Log:    we can't promote strings

diff --git a/pypy/module/_ffi/interp_struct.py 
b/pypy/module/_ffi/interp_struct.py
--- a/pypy/module/_ffi/interp_struct.py
+++ b/pypy/module/_ffi/interp_struct.py
@@ -46,7 +46,7 @@
     def allocate(self, space):
         return W__StructInstance(self)
 
-    @jit.elidable_promote()
+    @jit.elidable_promote('0')
     def get_type_and_offset_for_field(self, name):
         try:
             w_field = self.name2w_field[name]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to