py2llvm: support raise statement

This commit is contained in:
Sebastien Bourdeauducq 2014-09-22 13:20:27 +08:00
parent ec7a92983d
commit a8df1703fb
1 changed files with 4 additions and 0 deletions

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)