[pypy-svn] r64876 - pypy/branch/pyjitpl5/pypy/jit/backend/x86

fijal at codespeak.net fijal at codespeak.net
Thu Apr 30 19:46:31 CEST 2009


Author: fijal
Date: Thu Apr 30 19:46:26 2009
New Revision: 64876

Modified:
   pypy/branch/pyjitpl5/pypy/jit/backend/x86/assembler.py
Log:
Fix for O16 being a wrapper


Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/assembler.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/assembler.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/assembler.py	Thu Apr 30 19:46:26 2009
@@ -51,6 +51,9 @@
     def tell(self):
         return self._mc.tell()
 
+    def O16(self):
+        self.mc.O16()
+
     def done(self):
         self._mc.done()
 
@@ -69,7 +72,7 @@
     return method
 
 for name in dir(codebuf.MachineCodeBlock):
-    if name.upper() == name:
+    if name.upper() == name and name != 'O16':
         setattr(MachineCodeBlockWrapper, name, _new_method(name))
 
 class MachineCodeStack(object):



More information about the Pypy-commit mailing list