[pypy-commit] pypy default: Delete unused logspaceops option
alex_gaynor
noreply at buildbot.pypy.org
Sat Dec 1 19:05:23 CET 2012
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r59166:a5426d53087d
Date: 2012-12-01 10:05 -0800
http://bitbucket.org/pypy/pypy/changeset/a5426d53087d/
Log: Delete unused logspaceops option
diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -318,10 +318,6 @@
# weakrefs needed, because of get_subclasses()
requires=[("translation.rweakref", True)]),
- BoolOption("logspaceoptypes",
- "a instrumentation option: before exit, print the types seen by "
- "certain simpler bytecodes",
- default=False),
ChoiceOption("multimethods", "the multimethod implementation to use",
["doubledispatch", "mrd"],
default="mrd"),
diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py
--- a/pypy/interpreter/baseobjspace.py
+++ b/pypy/interpreter/baseobjspace.py
@@ -365,9 +365,6 @@
mod.shutdown(self)
if self.config.objspace.logbytecodes:
self.reportbytecodecounts()
- if self.config.objspace.std.logspaceoptypes:
- for s in self.FrameClass._space_op_types:
- print s
def wait_for_thread_shutdown(self):
"""Wait until threading._shutdown() completes, provided the threading
diff --git a/pypy/objspace/std/frame.py b/pypy/objspace/std/frame.py
--- a/pypy/objspace/std/frame.py
+++ b/pypy/objspace/std/frame.py
@@ -114,11 +114,6 @@
StdObjSpaceFrame.CALL_METHOD = CALL_METHOD
if space.config.objspace.std.optimized_comparison_op:
StdObjSpaceFrame.COMPARE_OP = fast_COMPARE_OP
- if space.config.objspace.std.logspaceoptypes:
- assert 0, "logspaceoptypes: a few fixes a missing here"
- StdObjSpace._space_op_types = []
- for name, new in get_logging():
- setattr(StdObjSpaceFrame, name, new)
return StdObjSpaceFrame
More information about the pypy-commit
mailing list