Author: wenzhuman <[email protected]>
Branch: gc_no_cleanup_nursery
Changeset: r72707:2bd06d902889
Date: 2014-08-06 15:45 -0700
http://bitbucket.org/pypy/pypy/changeset/2bd06d902889/

Log:    modify operation name

diff --git a/rpython/rtyper/llinterp.py b/rpython/rtyper/llinterp.py
--- a/rpython/rtyper/llinterp.py
+++ b/rpython/rtyper/llinterp.py
@@ -904,11 +904,11 @@
     def op_gc_gcflag_extra(self, subopnum, *args):
         return self.heap.gcflag_extra(subopnum, *args)
 
-    def op_do_malloc_fixedsize_clear(self):
-        raise NotImplementedError("do_malloc_fixedsize_clear")
+    def op_do_malloc_fixedsize(self):
+        raise NotImplementedError("do_malloc_fixedsize")
 
-    def op_do_malloc_varsize_clear(self):
-        raise NotImplementedError("do_malloc_varsize_clear")
+    def op_do_malloc_varsize(self):
+        raise NotImplementedError("do_malloc_varsize")
 
     def op_get_write_barrier_failing_case(self):
         raise NotImplementedError("get_write_barrier_failing_case")
diff --git a/rpython/rtyper/lltypesystem/lltype.py 
b/rpython/rtyper/lltypesystem/lltype.py
--- a/rpython/rtyper/lltypesystem/lltype.py
+++ b/rpython/rtyper/lltypesystem/lltype.py
@@ -47,7 +47,7 @@
 
 class _uninitialized(object):
     def __init__(self, TYPE):
-        self._TYPE = TYPE
+        #self._TYPE = TYPE
         self.TYPE = TYPE
     def __repr__(self):
         return '<Uninitialized %r>'%(self.TYPE,)
diff --git a/rpython/translator/test/test_exceptiontransform.py 
b/rpython/translator/test/test_exceptiontransform.py
--- a/rpython/translator/test/test_exceptiontransform.py
+++ b/rpython/translator/test/test_exceptiontransform.py
@@ -239,7 +239,7 @@
         etrafo.create_exception_handling(g)
         ops = dict.fromkeys([o.opname for b, o in g.iterblockops()])
         assert 'zero_gc_pointers_inside' in ops
-
+    
     def test_llexternal(self):
         from rpython.rtyper.lltypesystem.rffi import llexternal
         from rpython.rtyper.lltypesystem import lltype
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to