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