예제 #1
0
 def invoke(self,
            fn,
            args,
            normal_to,
            unwind_to,
            name="",
            cconv=None,
            tail=False):
     inst = instructions.InvokeInstr(self.block,
                                     fn,
                                     args,
                                     normal_to,
                                     unwind_to,
                                     name=name,
                                     cconv=cconv)
     self._set_terminator(inst)
     return inst
예제 #2
0
 def invoke(self,
            fn,
            args,
            normal_to,
            unwind_to,
            name='',
            cconv=None,
            fastmath=(),
            attrs=(),
            arg_attrs=None):
     inst = instructions.InvokeInstr(self.block,
                                     fn,
                                     args,
                                     normal_to,
                                     unwind_to,
                                     name=name,
                                     cconv=cconv,
                                     fastmath=fastmath,
                                     attrs=attrs,
                                     arg_attrs=arg_attrs)
     self._set_terminator(inst)
     return inst