aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2002-12-13 11:39:18 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2002-12-13 11:39:18 +0000
commit992447f91b720f3148d3d989a15f77fd60dd9ee7 (patch)
treeda3353ab8e21f0d215bcf29611929b35b5c2d6df /lib
parent972b03fa53ef2053172415f2d05cfc444c492e55 (diff)
downloadexternal_llvm-992447f91b720f3148d3d989a15f77fd60dd9ee7.zip
external_llvm-992447f91b720f3148d3d989a15f77fd60dd9ee7.tar.gz
external_llvm-992447f91b720f3148d3d989a15f77fd60dd9ee7.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/InstSelectSimple.cpp2
-rw-r--r--lib/Target/X86/X86ISelSimple.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp
index a8ed6f6..4cb6562 100644
--- a/lib/Target/X86/InstSelectSimple.cpp
+++ b/lib/Target/X86/InstSelectSimple.cpp
@@ -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);
diff --git a/lib/Target/X86/X86ISelSimple.cpp b/lib/Target/X86/X86ISelSimple.cpp
index a8ed6f6..4cb6562 100644
--- a/lib/Target/X86/X86ISelSimple.cpp
+++ b/lib/Target/X86/X86ISelSimple.cpp
@@ -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);