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

Chris Lattner lattner at cs.uiuc.edu
Fri Dec 13 05:40:01 PST 2002


Changes in directory llvm/lib/Target/X86:

InstSelectSimple.cpp updated: 1.63 -> 1.64

---
Log message:


lib/Target/X86/InstSelectSimple.cpp: 

The MachineBasicBlock variable name patrol hereby fines Chris Lattner
one bag of nachos, for shadowing global names while his license to do so
was under suspension.



---
Diffs of the changes:

Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.63 llvm/lib/Target/X86/InstSelectSimple.cpp:1.64
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.63	Fri Dec 13 05:31:59 2002
+++ llvm/lib/Target/X86/InstSelectSimple.cpp	Fri Dec 13 05:39:18 2002
@@ -207,7 +207,7 @@
       // the register here...
       //
       if (Constant *C = dyn_cast<Constant>(V)) {
-        copyConstantToRegister(C, Reg, BB, IPt);
+        copyConstantToRegister(C, Reg, MBB, IPt);
       } else if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
         // Move the address of the global into the register
         BMI(MBB, IPt, X86::MOVir32, 1, Reg).addReg(GV);





More information about the llvm-commits mailing list