Commit fc4156cd authored by Maciej Fijalkowski's avatar Maciej Fijalkowski

fix for tests

parent b53c2990
......@@ -225,7 +225,8 @@ class BaseAssembler(object):
raise AssertionError(kind)
gcref = cast_instance_to_gcref(value)
rgc._make_sure_does_not_move(gcref)
if gcref:
rgc._make_sure_does_not_move(gcref)
value = rffi.cast(lltype.Signed, gcref)
je_location = self._call_assembler_check_descr(value, tmploc)
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment