diff --git a/rvm/src/org/jikesrvm/compilers/opt/regalloc/ia32/CallingConvention.java b/rvm/src/org/jikesrvm/compilers/opt/regalloc/ia32/CallingConvention.java index 03db6a34a..6a6ccd015 100644 --- a/rvm/src/org/jikesrvm/compilers/opt/regalloc/ia32/CallingConvention.java +++ b/rvm/src/org/jikesrvm/compilers/opt/regalloc/ia32/CallingConvention.java @@ -647,7 +647,7 @@ private static void expandPrologue(IR ir) { // the symbolic. First a move from the physical to a fresh temp // before start and second a move from the temp to the // 'real' parameter symbolic after start. - RegisterOperand tmp = ir.regpool.makeTemp(TypeReference.Int); + RegisterOperand tmp = ir.regpool.makeTemp(rType); Register param = phys.getGPRParam(gprIndex); RegisterOperand pOp = new RegisterOperand(param, rType); start.insertBefore(PhysicalRegisterTools.makeMoveInstruction(tmp, pOp));