Commits

Sven Hager committed 9130b26

remove comments and debug stuff

  • Participants
  • Parent commits f4618a1
  • Branches ppc-jit-backend

Comments (0)

Files changed (1)

File pypy/jit/backend/ppc/ppcgen/ppc_assembler.py

             else:
                 assert 0, 'unknown type'
 
-
         assert enc[i] == self.END_OF_LOCS
         descr = decode32(enc, i+1)
         self.fail_boxes_count = fail_index
 
     def _gen_leave_jitted_hook_code(self, save_exc=False):
         mc = PPCBuilder()
-
-        # PLAN:
-        # =====
-        # save caller save registers AND(!) r0 
-        # (r0 contains address of state encoding)
-
         mc.b_abs(self.exit_code_adr)
         mc.prepare_insts_blocks()
         return mc.materialize(self.cpu.asmmemmgr, [],
     #   - jump back to the calling code
     def _gen_exit_path(self):
         mc = PPCBuilder() 
-        mc.mr(r.r6.value, r.r3.value)
         self._save_managed_regs(mc)
         decode_func_addr = llhelper(self.recovery_func_sign,
                 self.failure_recovery_func)
             r2_value = descr[1]
             r11_value = descr[2]
 
-
-
         # load parameters into parameter registers
         if IS_PPC_32:
             mc.lwz(r.r3.value, r.SPP.value, self.ENCODING_AREA)     # address of state encoding