Sven Hager avatar Sven Hager committed 00a70b5

GETFIELD_RAW, SETFIELD_RAW, GETFIELD_RAW_PURE, GETFIELD_GC_PURE.

Comments (0)

Files changed (2)

pypy/jit/backend/ppc/ppcgen/opassembler.py

                          descr._ppc_frame_manager_depth)
             regalloc.frame_manager.frame_depth = new_fd
 
-    # XXX adjust 64 bit
     def emit_setfield_gc(self, op, arglocs, regalloc):
         value_loc, base_loc, ofs, size = arglocs
         if size.value == 8:
                 self.mc.stbx(value_loc.value, base_loc.value, ofs.value)
         else:
             assert 0, "size not supported"
+    emit_setfield_raw = emit_setfield_gc
 
-    # XXX adjust 64 bit
     def emit_getfield_gc(self, op, arglocs, regalloc):
         base_loc, ofs, res, size = arglocs
         if size.value == 8:
                 self.mc.lbzx(res.value, base_loc.value, ofs.value)
         else:
             assert 0, "size not supported"
+    emit_getfield_raw = emit_getfield_gc
+    emit_getfield_raw_pure = emit_getfield_gc
+    emit_getfield_gc_pure = emit_getfield_gc
 
     def emit_arraylen_gc(self, op, arglocs, regalloc):
         res, base_loc, ofs = arglocs

pypy/jit/backend/ppc/ppcgen/regalloc.py

         self.possibly_free_vars(boxes)
         return [value_loc, base_loc, ofs_loc, imm(size)]
 
+    prepare_setfield_raw = prepare_setfield_gc
+
     def prepare_getfield_gc(self, op):
         a0 = op.getarg(0)
         ofs, size, ptr = self._unpack_fielddescr(op.getdescr())
         self.possibly_free_var(op.result)
         return [base_loc, ofs_loc, res, imm(size)]
 
+    prepare_getfield_raw = prepare_getfield_gc
+    prepare_getfield_raw_pure = prepare_getfield_gc
+    prepare_getfield_gc_pure = prepare_getfield_gc
+
     def prepare_arraylen_gc(self, op):
         arraydescr = op.getdescr()
         assert isinstance(arraydescr, BaseArrayDescr)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.