[pypy-commit] pypy jit-leaner-frontend: more casting fun

fijal pypy.commits at gmail.com
Fri Mar 25 08:05:32 EDT 2016


Author: fijal
Branch: jit-leaner-frontend
Changeset: r83352:bd8cbbe9d553
Date: 2016-03-25 14:04 +0200
http://bitbucket.org/pypy/pypy/changeset/bd8cbbe9d553/

Log:	more casting fun

diff --git a/rpython/jit/metainterp/opencoder.py b/rpython/jit/metainterp/opencoder.py
--- a/rpython/jit/metainterp/opencoder.py
+++ b/rpython/jit/metainterp/opencoder.py
@@ -385,7 +385,7 @@
     def _list_of_boxes(self, boxes):
         array = [rffi.cast(STORAGE_TP, 0)] * len(boxes)
         for i in range(len(boxes)):
-            array[i] = self._encode(boxes[i])
+            array[i] = self._encode_cast(boxes[i])
         return array
 
     def new_array(self, lgt):


More information about the pypy-commit mailing list