Author: Maciej Fijalkowski <[email protected]>
Branch: optresult
Changeset: r77827:eeecf9762142
Date: 2015-06-03 17:09 +0200
http://bitbucket.org/pypy/pypy/changeset/eeecf9762142/
Log: fixes
diff --git a/rpython/jit/backend/llsupport/gc.py
b/rpython/jit/backend/llsupport/gc.py
--- a/rpython/jit/backend/llsupport/gc.py
+++ b/rpython/jit/backend/llsupport/gc.py
@@ -643,7 +643,7 @@
descr.tid = llop.combine_ushort(lltype.Signed, type_id, 0)
def init_array_descr(self, A, descr):
- if not isinstance(A, lltype.GcArray):
+ if not isinstance(A, (lltype.GcArray, lltype.GcStruct)):
return
if self.layoutbuilder is not None:
type_id = self.layoutbuilder.get_type_id(A)
diff --git a/rpython/jit/metainterp/pyjitpl.py
b/rpython/jit/metainterp/pyjitpl.py
--- a/rpython/jit/metainterp/pyjitpl.py
+++ b/rpython/jit/metainterp/pyjitpl.py
@@ -784,9 +784,6 @@
def opimpl_getfield_raw_i_pure(self, box, fielddescr):
return self.execute_with_descr(rop.GETFIELD_RAW_PURE_I, fielddescr,
box)
@arguments("box", "descr")
- def opimpl_getfield_raw_r_pure(self, box, fielddescr):
- return self.execute_with_descr(rop.GETFIELD_RAW_PURE_R, fielddescr,
box)
- @arguments("box", "descr")
def opimpl_getfield_raw_f_pure(self, box, fielddescr):
return self.execute_with_descr(rop.GETFIELD_RAW_PURE_F, fielddescr,
box)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit