                 @createCall @ejs.throw, [arg], "", true
 
         visitTry: (n) ->
-                console.log "visitTry"
                 insertBlock = irbuilder.getInsertBlock()
                 insertFunc = insertBlock.parent
 

                                catch_block = new llvm.BasicBlock "catch_bb", insertFunc

                                irbuilder.setInsertPoint catch_block
                                console.log 3
                                @visit n.handlers[0]
                                console.log 4
                                irbuilder.createBr branch_target # XXX this should probably be to the cleanup block?

                        # if we have a handler then branch to it unconditionally, otherwise resumeunwind?

                                switch_stmt.addCase (llvm.Constant.getIntegerValue int32Type, ExitableScope.REASON_RETURN), return_tramp
                        
                irbuilder.setInsertPoint merge_block

class AddFunctionsVisitor extends NodeVisitor
        constructor: (@module) ->
