Author: Antonio Cuni <[email protected]>
Branch: refactor-call_release_gil
Changeset: r62854:71e2d672347d
Date: 2013-03-28 11:42 +0100
http://bitbucket.org/pypy/pypy/changeset/71e2d672347d/

Log:    fix translation

diff --git a/rpython/jit/backend/llsupport/llmodel.py 
b/rpython/jit/backend/llsupport/llmodel.py
--- a/rpython/jit/backend/llsupport/llmodel.py
+++ b/rpython/jit/backend/llsupport/llmodel.py
@@ -275,8 +275,8 @@
     def cast_adr_to_int(x):
         return rffi.cast(lltype.Signed, x)
 
-    @staticmethod
-    def cast_int_to_ptr(x, TYPE):
+    @specialize.arg(2)
+    def cast_int_to_ptr(self, x, TYPE):
         return rffi.cast(TYPE, x)
 
     def sizeof(self, S):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to