                 #debug.log -> "param #{param.llvm_type} #{param.name}" for param in n.formal_params
 
                 @currentFunction = ir_func
-                @currentAllocas = {}
 
                 # Create a new basic block to start insertion into.
                 entry_bb = new llvm.BasicBlock "entry", ir_func


                                        load_isbound = @emitLoadEjsFunctionIsBound closure

                                        cmp = ir.createICmpEq load_isbound, (consts.int32 0), "notbound?"
                                        ir.createCondBr cmp, direct_invoke_bb, runtime_invoke_bb

                                        @doInsideBBlock runtime_invoke_bb, =>

                        is_object_bb = new llvm.BasicBlock "typeof_function_is_object", insertFunc
                        success_bb   = new llvm.BasicBlock "typeof_function_true",      insertFunc
                        merge_bb     = new llvm.BasicBlock "typeof_function_merge",     insertFunc

                        cmp = @createEjsvalICmpUGt arg, consts.int64_lowhi(0xfffbffff, 0xffffffff), "cmpresult"
                        ir.createCondBr cmp, is_object_bb, failure_bb

                        @doInsideBBlock is_object_bb, =>
