[pypy-commit] pypy unroll-if-const: oops, consistency
fijal
noreply at buildbot.pypy.org
Mon Jul 25 18:49:16 CEST 2011
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: unroll-if-const
Changeset: r45969:0bdf5654d053
Date: 2011-07-25 18:05 +0200
http://bitbucket.org/pypy/pypy/changeset/0bdf5654d053/
Log: oops, consistency
diff --git a/pypy/jit/codewriter/jtransform.py b/pypy/jit/codewriter/jtransform.py
--- a/pypy/jit/codewriter/jtransform.py
+++ b/pypy/jit/codewriter/jtransform.py
@@ -337,7 +337,7 @@
op1 = SpaceOperation('-live-', [], None)
return [op0, op1]
- def handle_regularifconst_call(self, op):
+ def handle_regular_ifconst_call(self, op):
""" A direct call that turns into inline_ifconst_call_xxx. The first
argument is jitcode, then number of const arg then calldescr and
finally all other args
diff --git a/pypy/jit/codewriter/test/test_jtransform.py b/pypy/jit/codewriter/test/test_jtransform.py
--- a/pypy/jit/codewriter/test/test_jtransform.py
+++ b/pypy/jit/codewriter/test/test_jtransform.py
@@ -60,7 +60,7 @@
_jit_unroll_if_const_ = (0,)
def guess_call_kind(self, op):
- return 'regularifconst'
+ return 'regular_ifconst'
def graphs_from(self, op):
return [self.somegraph]
def get_jitcode(self, graph, called_from=None):
More information about the pypy-commit
mailing list