[pypy-commit] pypy ppc-jit-backend: add *args to __exit__ method in class scratch_reg
hager
noreply at buildbot.pypy.org
Tue Feb 28 14:08:03 CET 2012
Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r52971:3e9c0b6b242a
Date: 2012-02-27 17:28 +0100
http://bitbucket.org/pypy/pypy/changeset/3e9c0b6b242a/
Log: add *args to __exit__ method in class scratch_reg
diff --git a/pypy/jit/backend/ppc/codebuilder.py b/pypy/jit/backend/ppc/codebuilder.py
--- a/pypy/jit/backend/ppc/codebuilder.py
+++ b/pypy/jit/backend/ppc/codebuilder.py
@@ -1187,7 +1187,7 @@
def __enter__(self):
self.mc.alloc_scratch_reg()
- def __exit__(self):
+ def __exit__(self, *args):
self.mc.free_scratch_reg()
class BranchUpdater(PPCAssembler):
More information about the pypy-commit
mailing list