From 3d440d5f15e24a4a9dcdeb2bdc82981e39690a83 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 13 Sep 2014 16:16:15 +0800 Subject: [PATCH] py2llvm: support pass statements --- artiq/py2llvm/ast_body.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/artiq/py2llvm/ast_body.py b/artiq/py2llvm/ast_body.py index 5a44b1f6e..60981098a 100644 --- a/artiq/py2llvm/ast_body.py +++ b/artiq/py2llvm/ast_body.py @@ -271,3 +271,6 @@ class Visitor: self.builder.ret_void() else: self.builder.ret(val.auto_load(self.builder)) + + def _visit_stmt_Pass(self, node): + pass