tidy up, no functionality change.
authorChris Lattner <sabre@nondot.org>
Sun, 14 Nov 2010 23:32:42 +0000 (23:32 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Nov 2010 23:32:42 +0000 (23:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119092 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.h
lib/Target/X86/X86MCInstLower.cpp

index 5060ad836af4a52d93b2ab2d30bd1ebdecd76e3f..46db68ed08e22602f46633324dc309b938273385 100644 (file)
@@ -174,7 +174,7 @@ namespace X86II {
     
     /// MO_DARWIN_STUB - On a symbol operand "FOO", this indicates that the
     /// reference is actually to the "FOO$stub" symbol.  This is used for calls
-    /// and jumps to external functions on Tiger and before.
+    /// and jumps to external functions on Tiger and earlier.
     MO_DARWIN_STUB,
     
     /// MO_DARWIN_NONLAZY - On a symbol operand "FOO", this indicates that the
index 1a12b3cb713632ed238de5a3581312c1f8586871..05a5de6ea603c8aaad9ff7da4464764c4c10cd75 100644 (file)
@@ -322,8 +322,6 @@ void X86MCInstLower::Lower(const MachineInstr *MI, MCInst &OutMI) const {
                        MO.getMBB()->getSymbol(), Ctx));
       break;
     case MachineOperand::MO_GlobalAddress:
-      MCOp = LowerSymbolOperand(MO, GetSymbolFromOperand(MO));
-      break;
     case MachineOperand::MO_ExternalSymbol:
       MCOp = LowerSymbolOperand(MO, GetSymbolFromOperand(MO));
       break;