Esempio n. 1
0
 def enter_next_block(self, kinds, args_gv):
     debug_assert(self.rgenop.currently_writing is self,
                  "enter_next_block: bad currently_writing")
     lnk = llimpl.closeblock1(self.b)
     newb_args_gv = self._newblock(kinds) 
     llimpl.closelink(lnk, args_gv, self.b)
     for i in range(len(args_gv)):
         args_gv[i] = newb_args_gv[i]
     return LLLabel(self.b, self.gv_f)
Esempio n. 2
0
 def enter_next_block(self, kinds, args_gv):
     ll_assert(self.rgenop.currently_writing is self,
               "enter_next_block: bad currently_writing")
     lnk = llimpl.closeblock1(self.b)
     newb_args_gv = self._newblock(kinds)
     llimpl.closelink(lnk, args_gv, self.b)
     for i in range(len(args_gv)):
         args_gv[i] = newb_args_gv[i]
     return LLLabel(self.b, self.gv_f)
Esempio n. 3
0
 def finish_and_goto(self, args_gv, target):
     lnk = llimpl.closeblock1(self.b)
     llimpl.closelink(lnk, args_gv, target.b)
     self._close()
Esempio n. 4
0
 def finish_and_goto(self, args_gv, target):
     lnk = llimpl.closeblock1(self.b)
     llimpl.closelink(lnk, args_gv, target.b)
     self._close()