[pypy-svn] pypy default: kill unused parameter
antocuni
commits-noreply at bitbucket.org
Wed Mar 9 14:58:05 CET 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch:
Changeset: r42482:2b91e7d3bc35
Date: 2011-03-07 13:58 +0100
http://bitbucket.org/pypy/pypy/changeset/2b91e7d3bc35/
Log: kill unused parameter
diff --git a/pypy/module/pypyjit/test_pypy_c/model.py b/pypy/module/pypyjit/test_pypy_c/model.py
--- a/pypy/module/pypyjit/test_pypy_c/model.py
+++ b/pypy/module/pypyjit/test_pypy_c/model.py
@@ -38,7 +38,7 @@
class Log(object):
- def __init__(self, func, rawtraces):
+ def __init__(self, rawtraces):
storage = LoopStorage()
traces = [SimpleParser.parse_from_input(rawtrace) for rawtrace in rawtraces]
traces = storage.reconnect_loops(traces)
diff --git a/pypy/module/pypyjit/test_pypy_c/test_model.py b/pypy/module/pypyjit/test_pypy_c/test_model.py
--- a/pypy/module/pypyjit/test_pypy_c/test_model.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_model.py
@@ -47,7 +47,7 @@
# parse the JIT log
rawlog = logparser.parse_log_file(str(logfile))
rawtraces = logparser.extract_category(rawlog, 'jit-log-opt-')
- log = Log(func, rawtraces)
+ log = Log(rawtraces)
log.result = eval(stdout)
return log
More information about the Pypy-commit
mailing list