[pypy-svn] r40748 - pypy/dist/pypy/jit/codegen/ppc
mwh at codespeak.net
mwh at codespeak.net
Mon Mar 19 10:33:58 CET 2007
Author: mwh
Date: Mon Mar 19 10:33:52 2007
New Revision: 40748
Modified:
pypy/dist/pypy/jit/codegen/ppc/rgenop.py
Log:
fixing the ppc jit tests step 1 of n: test_write_frame_place_direct (easy)
Modified: pypy/dist/pypy/jit/codegen/ppc/rgenop.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/ppc/rgenop.py (original)
+++ pypy/dist/pypy/jit/codegen/ppc/rgenop.py Mon Mar 19 10:33:52 2007
@@ -392,8 +392,10 @@
result.append(None)
return result
- def alloc_frame_place(self, kind, gv_initial_value):
+ def alloc_frame_place(self, kind, gv_initial_value=None):
place = StackInfo()
+ if gv_initial_value is None:
+ gv_initial_value = AddrConst(llmemory.NULL)
self.insns.append(insn.CopyIntoStack(place, gv_initial_value))
return place
More information about the Pypy-commit
mailing list