提交 7cf9d564 authored 作者: Frederic Bastien's avatar Frederic Bastien

Removed the FAST_RUN_NOGC mode as we should not create new special string.

We should use the linker=c|py_nogc flags. Remove reference to FAST_RUN_NOGC that never existed.
上级 beb7cce4
......@@ -86,9 +86,9 @@ class ProfileMode(Mode):
failure = run_cthunk(th.cthunk)
dt = time.time() - t0
if failure:
raise RuntimeError(('A C Op raised an exception. PROFILE_MODE cannot'
raise RuntimeError(('A C Op raised an exception. ProfileMode cannot'
' tell you what it was though. Use a standard mode such as'
' FAST_RUN_NOGC to correct the problem.'))
' FAST_RUN to correct the problem.'))
else:
t0 = time.time()
th()
......@@ -105,9 +105,9 @@ class ProfileMode(Mode):
failure = run_cthunk(th.cthunk)
dt = time.time() - t0
if failure:
raise RuntimeError(('A C Op raised an exception. PROFILE_MODE cannot'
raise RuntimeError(('A C Op raised an exception. ProfileMode cannot'
' tell you what it was though. Use a standard mode such as'
' FAST_RUN_NOGC to correct the problem.'))
' FAST_RUN to correct the problem.'))
else:
t0 = time.time()
th()
......
......@@ -49,7 +49,7 @@ AddConfigVar('force_device',
AddConfigVar('mode',
"Default compilation mode",
EnumStr('Mode', 'ProfileMode', 'DebugMode', 'FAST_RUN',
'FAST_RUN_NOGC', 'FAST_COMPILE', 'PROFILE_MODE', 'DEBUG_MODE'))
'FAST_COMPILE', 'PROFILE_MODE', 'DEBUG_MODE'))
# Test whether or not gcc is present: disable C code if it is not
try:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论