made array and value ABI compatible to enable mixing of array and single value args
fixed codegen for int and int power