[pypy-commit] pypy ppc-jit-backend: this was definitely not supposed to be commited

fijal noreply at buildbot.pypy.org
Fri Jan 27 23:30:09 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: ppc-jit-backend
Changeset: r51894:77891e3dee7b
Date: 2012-01-28 00:29 +0200
http://bitbucket.org/pypy/pypy/changeset/77891e3dee7b/

Log:	this was definitely not supposed to be commited

diff --git a/pypy/jit/backend/ppc/ppcgen/form.py b/pypy/jit/backend/ppc/ppcgen/form.py
--- a/pypy/jit/backend/ppc/ppcgen/form.py
+++ b/pypy/jit/backend/ppc/ppcgen/form.py
@@ -84,14 +84,14 @@
         self.defaults = self.defaults + ((self.fieldmap[f], v),)
         return self
 
-    def call(self, **more_specializatons):
+    def __call__(self, **more_specializatons):
         s = self.specializations.copy()
         ms = {}
         ds = {}
         for fname, v in more_specializatons.iteritems():
             field = self.fieldmap[fname]
             if field not in self.fields:
-                raise FormException, "don't know about '%s' here"%k
+                raise FormException, "don't know about '%s' here" % field
             if isinstance(v, str):
                 ds[field] = self.fieldmap[v]
             else:


More information about the pypy-commit mailing list