[llvm-commits] CVS: llvm/lib/Target/X86/X86RegisterInfo.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Jul 17 13:24:16 PDT 2004



Changes in directory llvm/lib/Target/X86:

X86RegisterInfo.cpp updated: 1.87 -> 1.88

---
Log message:

Reserve the correct amt of space.


---
Diffs of the changes:  (+2 -2)

Index: llvm/lib/Target/X86/X86RegisterInfo.cpp
diff -u llvm/lib/Target/X86/X86RegisterInfo.cpp:1.87 llvm/lib/Target/X86/X86RegisterInfo.cpp:1.88
--- llvm/lib/Target/X86/X86RegisterInfo.cpp:1.87	Sat Jul 10 23:17:04 2004
+++ llvm/lib/Target/X86/X86RegisterInfo.cpp	Sat Jul 17 15:24:05 2004
@@ -100,7 +100,7 @@
 
 static MachineInstr *MakeMRIInst(unsigned Opcode, unsigned FrameIndex,
                                  MachineInstr *MI) {
-  return addFrameReference(BuildMI(Opcode, 5), FrameIndex)
+  return addFrameReference(BuildMI(Opcode, 6), FrameIndex)
       .addReg(MI->getOperand(1).getReg())
       .addZImm(MI->getOperand(2).getImmedValue());
 }
@@ -127,7 +127,7 @@
 static MachineInstr *MakeRMIInst(unsigned Opcode, unsigned FrameIndex,
                                  MachineInstr *MI) {
   const MachineOperand& op = MI->getOperand(0);
-  return addFrameReference(BuildMI(Opcode, 5, op.getReg(), op.getUseType()),
+  return addFrameReference(BuildMI(Opcode, 6, op.getReg(), op.getUseType()),
                         FrameIndex).addZImm(MI->getOperand(2).getImmedValue());
 }
 





More information about the llvm-commits mailing list