Author: Armin Rigo <[email protected]>
Branch: stmgc-c4
Changeset: r65121:fbbf6a7ae469
Date: 2013-06-30 11:01 +0200
http://bitbucket.org/pypy/pypy/changeset/fbbf6a7ae469/

Log:    Argh!

diff --git a/rpython/memory/gc/stmgc.py b/rpython/memory/gc/stmgc.py
--- a/rpython/memory/gc/stmgc.py
+++ b/rpython/memory/gc/stmgc.py
@@ -62,7 +62,7 @@
                              offset_to_length):
         # XXX be careful about overflows, and call optimized versions
         totalsize = size + itemsize * length
-        obj = llop.stm_allocate(llmemory.Address, typeid16, totalsize)
+        obj = llop.stm_allocate(llmemory.Address, totalsize, typeid16)
         (obj + offset_to_length).signed[0] = length
         return llmemory.cast_adr_to_ptr(obj, llmemory.GCREF)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to