                                 else_bb  = new llvm.BasicBlock "arg_else", insertFunc
                                 merge_bb = new llvm.BasicBlock "arg_merge", insertFunc
 
-                                cmp = irbuilder.createICmpSGt load_argc, (llvm.Constant.getIntegerValue int32Type, i-BUILTIN_PARAMS.length), "argcmpresult"
+                                cmp = irbuilder.createICmpSGt load_argc, (int32Constant i-BUILTIN_PARAMS.length), "argcmpresult"
                                 irbuilder.createCondBr cmp, then_bb, else_bb
                         
                                 irbuilder.setInsertPoint then_bb
-                                arg_ptr = irbuilder.createGetElementPointer args_load, (llvm.Constant.getIntegerValue int32Type, i-BUILTIN_PARAMS.length), "arg#{i-BUILTIN_PARAMS.length}_ptr"
+                                arg_ptr = irbuilder.createGetElementPointer args_load, [(int32Constant i-BUILTIN_PARAMS.length)], "arg#{i-BUILTIN_PARAMS.length}_ptr"
                                 debug.log "arg_ptr = #{arg_ptr}"
                                 arg = irbuilder.createLoad arg_ptr, "arg#{i-BUILTIN_PARAMS.length-1}_load"
                                 store = irbuilder.createStore arg, allocas[i+1]

                result = @createAlloca @currentFunction, EjsValueType, "%update_result"
                argument = @visit n.argument
                
                one = irbuilder.createLoad @ejs['one'], "load_one"
                
                if not n.prefix
                        # postfix updates store the argument before the op
                        irbuilder.createStore argument, result

                # argument = argument $op 1
                temp = @createCall @ejs["binop#{if n.operator is '++' then '+' else '-'}"], [argument, one], "update_temp"
                
                @storeValueInDest temp, n.argument
                

                        
                        reason = @lookupDestinationIdForScope scope, @REASON_BREAK
                else
                        reason = int32Constant @REASON_FALLOFF_TRY

                irbuilder.createStore reason, @cleanup_alloca
                irbuilder.createBr @cleanup_bb
