Commit dbfcd1f2 authored by Michael Arntzenius's avatar Michael Arntzenius

against my better instincts, comment out an assert

parent 68af6070
......@@ -1832,8 +1832,8 @@ private:
endBlock(DEAD);
// This is tripping in test/tests/return_selfreferential.py
ASSERT(rtn->getVrefs() == 1, "%d", rtn->getVrefs());
// This is tripping in test/tests/return_selfreferential.py. kmod says it should be removed.
// ASSERT(rtn->getVrefs() == 1, "%d", rtn->getVrefs());
assert(rtn->getValue());
emitter.getBuilder()->CreateRet(rtn->getValue());
}
......
# fail-if: ('-n' in EXTRA_JIT_ARGS) or ('-O' in EXTRA_JIT_ARGS)
# trips an assert about vref counts in irgenerator.cpp: IrGeneratorImpl::doReturn()
# used to trip an assert about vref counts in irgenerator.cpp: IrGeneratorImpl::doReturn()
def f1():
def bar(x):
print 'bar(%s)' % x
......
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