# XXX we shouldn't get here, but we do translating the whole
# pypy. We should investigate at some point. In the meantime
# returning False is always safe.
+ self.reason = 'variable not in gsrc!'
if isinstance(src, SpaceOperation):
if src.opname == 'hint' and 'stm_write' in src.args.value:
elif isinstance(src, Constant):
if src.value: # a NULL pointer is still valid as local
+ self.reason = 'found a None'
elif src == 'instantiate':
+ def assert_local(self, variable, graph='?'):
+ if self.is_local(variable):
+ "assert_local() failed (%s, %s):\n%r" % (variable, graph,