Skip to content

Commit

Permalink
Fix parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Rogers committed Nov 28, 2009
1 parent 9492add commit 2fe3f41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 2fe3f41

Please sign in to comment.