diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-14 23:32:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-14 23:32:42 +0000 |
commit | 21d272874b750201272ef3f00441b58932c3d769 (patch) | |
tree | f874b0b8852425c5faa70cafe2beb6c958764450 /lib/Target | |
parent | 749ba48fabc929ae39d750e39231919f2135a500 (diff) | |
download | external_llvm-21d272874b750201272ef3f00441b58932c3d769.zip external_llvm-21d272874b750201272ef3f00441b58932c3d769.tar.gz external_llvm-21d272874b750201272ef3f00441b58932c3d769.tar.bz2 |
tidy up, no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/X86InstrInfo.h | 2 | ||||
-rw-r--r-- | lib/Target/X86/X86MCInstLower.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h index 5060ad8..46db68e 100644 --- a/lib/Target/X86/X86InstrInfo.h +++ b/lib/Target/X86/X86InstrInfo.h @@ -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 diff --git a/lib/Target/X86/X86MCInstLower.cpp b/lib/Target/X86/X86MCInstLower.cpp index 1a12b3c..05a5de6 100644 --- a/lib/Target/X86/X86MCInstLower.cpp +++ b/lib/Target/X86/X86MCInstLower.cpp @@ -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; |