Author: wenzhuman <[email protected]>
Branch: gc-two-end-nursery
Changeset: r72088:ff9a09762091
Date: 2014-06-17 13:14 -0400
http://bitbucket.org/pypy/pypy/changeset/ff9a09762091/
Log: fix the malloc function pointer
diff --git a/rpython/memory/gctransform/framework.py
b/rpython/memory/gctransform/framework.py
--- a/rpython/memory/gctransform/framework.py
+++ b/rpython/memory/gctransform/framework.py
@@ -850,13 +850,13 @@
v_has_finalizer, v_has_light_finalizer, v_contains_weakptr] = op.args
livevars = self.push_roots(hop)
hop.genop("direct_call",
- [self.malloc_fixedsize_clear_ptr, self.c_const_gc,
+ [self.malloc_fixedsize_ptr, self.c_const_gc,
v_typeid, v_size,
v_has_finalizer, v_has_light_finalizer,
v_contains_weakptr],
resultvar=op.result)
self.pop_roots(hop, livevars)
-
+
def gct_do_malloc_varsize_clear(self, hop):
# used by the JIT (see rpython.jit.backend.llsupport.gc)
op = hop.spaceop
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit