Author: hager <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit