[pypy-commit] pypy default: Added a missing CLI flag.
alex_gaynor
noreply at buildbot.pypy.org
Mon Jul 15 19:42:36 CEST 2013
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r65406:fb06dfd56f2d
Date: 2013-07-15 10:41 -0700
http://bitbucket.org/pypy/pypy/changeset/fb06dfd56f2d/
Log: Added a missing CLI flag.
diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py
--- a/pypy/interpreter/app_main.py
+++ b/pypy/interpreter/app_main.py
@@ -196,6 +196,11 @@
print >> sys.stderr, "Python", sys.version
raise SystemExit
+
+def funroll_loops(*args):
+ print("Vroom vroom, I'm a racecar!")
+
+
def set_jit_option(options, jitparam, *args):
if jitparam == 'help':
_print_jit_help()
@@ -381,6 +386,7 @@
'Q': (div_option, Ellipsis),
'--info': (print_info, None),
'--jit': (set_jit_option, Ellipsis),
+ '-funroll-loops': (funroll_loops, None),
'--': (end_options, None),
}
More information about the pypy-commit
mailing list