Armin Rigo  committed 0bc76a4

Starting to support the _cffi_backend module directly in the JIT.

  • Participants
  • Parent commits 8ef6c68
  • Branches ffi-backend

Comments (0)

Files changed (2)

File pypy/jit/codewriter/

                 return [None, # hack, do the right renaming from op.args[0] to op.result
                         SpaceOperation("record_known_class", [op.args[0], const_vtable], None)]
+    def rewrite_op_raw_malloc_usage(self, op):
+        pass
     def rewrite_op_jit_record_known_class(self, op):
         return SpaceOperation("record_known_class", [op.args[0], op.args[1]], None)
                        ('uint_or', 'int_or'),
                        ('uint_lshift', 'int_lshift'),
                        ('uint_xor', 'int_xor'),
+                       ('adr_add', 'int_add'),
         assert _old not in locals()
         exec py.code.Source('''

File pypy/module/pypyjit/

                        'imp', 'sys', 'array', '_ffi', 'itertools', 'operator',
                        'posix', '_socket', '_sre', '_lsprof', '_weakref',
                        '__pypy__', 'cStringIO', '_collections', 'struct',
-                       'mmap', 'marshal', '_codecs', 'rctime', 'cppyy']:
+                       'mmap', 'marshal', '_codecs', 'rctime', 'cppyy',
+                       '_cffi_backend']:
             if modname == 'pypyjit' and 'interp_resop' in rest:
                 return False
             return True