[pypy-svn] r17996 - pypy/dist/pypy/translator/goal
pedronis at codespeak.net
pedronis at codespeak.net
Fri Sep 30 02:18:00 CEST 2005
Author: pedronis
Date: Fri Sep 30 02:17:57 2005
New Revision: 17996
Modified:
pypy/dist/pypy/translator/goal/driver.py
pypy/dist/pypy/translator/goal/translate_pypy_new.py
Log:
backopt -> backendop (consistent with the directory name but still reasonably short)
Modified: pypy/dist/pypy/translator/goal/driver.py
==============================================================================
--- pypy/dist/pypy/translator/goal/driver.py (original)
+++ pypy/dist/pypy/translator/goal/driver.py Fri Sep 30 02:17:57 2005
@@ -75,7 +75,7 @@
self.proceed(backend_goal)
setattr(self, task, proc)
- for task in ('annotate', 'rtype', 'backopt', 'source', 'compile', 'run'):
+ for task in ('annotate', 'rtype', 'backendopt', 'source', 'compile', 'run'):
expose_task(task)
def backend_select_goals(self, goals):
@@ -125,11 +125,11 @@
#
task_rtype = taskdef(task_rtype, ['annotate'], "RTyping")
- def task_backopt(self):
+ def task_backendopt(self):
opt = self.options
self.translator.backend_optimizations(ssa_form=opt.backend != 'llvm')
#
- task_backopt = taskdef(task_backopt,
+ task_backendopt = taskdef(task_backendopt,
['rtype'], "Back-end optimisations")
def task_source_c(self): # xxx messy
@@ -152,7 +152,7 @@
self.cbuilder = cbuilder
#
task_source_c = taskdef(task_source_c,
- ['?backopt', '?rtype', '?annotate'],
+ ['?backendopt', '?rtype', '?annotate'],
"Generating c source")
def task_compile_c(self): # xxx messy
@@ -191,21 +191,21 @@
raise NotImplementedError, "llinterpret" # xxx
#
task_llinterpret = taskdef(task_llinterpret,
- ['?backopt', 'rtype'],
+ ['?backendopt', 'rtype'],
"LLInterpeting")
def task_source_llvm(self):
raise NotImplementedError, "source_llvm" # xxx
#
task_source_llvm = taskdef(task_source_llvm,
- ['backopt', 'rtype'],
+ ['backendopt', 'rtype'],
"Generating llvm source")
def task_compile_llvm(self):
raise NotImplementedError, "compile_llvm" # xxx
#
task_compile_llvm = taskdef(task_compile_llvm,
- ['backopt', 'rtype'],
+ ['backendopt', 'rtype'],
"Compiling llvm source")
def task_run_llvm(self):
Modified: pypy/dist/pypy/translator/goal/translate_pypy_new.py
==============================================================================
--- pypy/dist/pypy/translator/goal/translate_pypy_new.py (original)
+++ pypy/dist/pypy/translator/goal/translate_pypy_new.py Fri Sep 30 02:17:57 2005
@@ -38,8 +38,8 @@
},
'2_Backend optimisations': {
- '_backopt': [OPT(('-o', '--backopt'), "Do backend optimisations", GOAL),
- OPT(('--no-backopt',), "Don't do backend optimisations", SKIP_GOAL)],
+ '_backendopt': [OPT(('-o', '--backendopt'), "Do backend optimisations", GOAL),
+ OPT(('--no-backendopt',), "Don't do backend optimisations", SKIP_GOAL)],
},
'3_Code generation options': {
@@ -88,7 +88,7 @@
'goals': [],
- 'default_goals': ['annotate', 'rtype', 'backopt', 'source', 'compile'],
+ 'default_goals': ['annotate', 'rtype', 'backendopt', 'source', 'compile'],
'skipped_goals': ['run'],
'lowmem': False,
More information about the Pypy-commit
mailing list