Beispiel #1
0
 def f(s):
     a = llop.call_boehm_gc_alloc(llmemory.Address, 100)
     a.signed[0] = s
     a.signed[1] = s+2
     return a.signed[0]*a.signed[1]
Beispiel #2
0
def gc_malloc(size):
    from pypy.rpython.lltypesystem.lloperation import llop
    return llop.call_boehm_gc_alloc(llmemory.Address, size)