Author: Armin Rigo <[email protected]>
Branch: cffi-handle-lifetime
Changeset: r80130:ad4b3dabe0c9
Date: 2015-10-12 12:21 +0200
http://bitbucket.org/pypy/pypy/changeset/ad4b3dabe0c9/

Log:    Fix

diff --git a/rpython/rtyper/lltypesystem/rtagged.py 
b/rpython/rtyper/lltypesystem/rtagged.py
--- a/rpython/rtyper/lltypesystem/rtagged.py
+++ b/rpython/rtyper/lltypesystem/rtagged.py
@@ -27,7 +27,8 @@
                     self.classdef, flds))
             self.specialfieldname = flds[0]
 
-    def new_instance(self, llops, classcallhop=None):
+    def new_instance(self, llops, classcallhop=None, nonmovable=False):
+        assert not nonmovable
         if self.is_parent:
             raise TyperError("don't instantiate %r, it is a parent of an "
                              "UnboxedValue class" % (self.classdef,))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to