lib/Target/X86/InstSelectSimple.cpp:
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 13 Dec 2002 11:39:18 +0000 (11:39 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 13 Dec 2002 11:39:18 +0000 (11:39 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5014 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/InstSelectSimple.cpp
lib/Target/X86/X86ISelSimple.cpp

index a8ed6f69c0e6d74e329d4d51a954a47ab38ce472..4cb6562211da599683df95e963dd890517cbb277 100644 (file)
@@ -207,7 +207,7 @@ namespace {
       // 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);
index a8ed6f69c0e6d74e329d4d51a954a47ab38ce472..4cb6562211da599683df95e963dd890517cbb277 100644 (file)
@@ -207,7 +207,7 @@ namespace {
       // 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);