py2llvm: support raise statement

This commit is contained in:
Sebastien Bourdeauducq 2014-09-22 13:20:27 +08:00
parent ec7a92983d
commit a8df1703fb

View File

@ -276,3 +276,7 @@ class Visitor:
def _visit_stmt_Pass(self, node):
pass
def _visit_stmt_Raise(self, node):
eid = node.exc.args[0].n
self.env.build_raise(eid, self.builder)