mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
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
This commit is contained in:
1 parent
972b03fa53
commit
992447f91b
2 files changed
+2
-2
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user