提交 c7fd429a authored 作者: James Bergstra's avatar James Bergstra

Changed hint in ProfileMode to use FAST_RUN_NOGC, since it is closer than

FAST_RUN to the behaviour of profile mode.
上级 8fbacc7e
......@@ -44,7 +44,9 @@ class ProfileMode(Mode):
failure = run_cthunk(th.cthunk)
dt = time.time() - t0
if failure:
raise RuntimeError('A C Op raised an exception. PerformLinker cannot tell you what it was though. Use a standard mode such as FAST_RUN to correct the problem.')
raise RuntimeError(('A C Op raised an exception. PerformLinker cannot'
' tell you what it was though. Use a standard mode such as'
' FAST_RUN_NOGC to correct the problem.'))
else:
t0 = time.time()
th()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论