summaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86MCCodeEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-06-19 00:34:14 +0000
committerChris Lattner <sabre@nondot.org>2010-06-19 00:34:14 +0000
commit617e595022504652c083421dbb49a9c5d95aba23 (patch)
tree4851cc988148cc95a3a4dee5f697479667caa8a8 /lib/Target/X86/X86MCCodeEmitter.cpp
parent1cf44fc051e05c7cd96a4b071b654381338baae9 (diff)
downloadexternal_llvm-617e595022504652c083421dbb49a9c5d95aba23.zip
external_llvm-617e595022504652c083421dbb49a9c5d95aba23.tar.gz
external_llvm-617e595022504652c083421dbb49a9c5d95aba23.tar.bz2
rip out dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86MCCodeEmitter.cpp')
-rw-r--r--lib/Target/X86/X86MCCodeEmitter.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Target/X86/X86MCCodeEmitter.cpp b/lib/Target/X86/X86MCCodeEmitter.cpp
index bff0e59..7692bfd 100644
--- a/lib/Target/X86/X86MCCodeEmitter.cpp
+++ b/lib/Target/X86/X86MCCodeEmitter.cpp
@@ -199,12 +199,6 @@ void X86MCCodeEmitter::EmitSegmentOverridePrefix(const MCOperand &Op,
if (Op.getReg() == 0)
return;
-#if 0
- // Otherwise, emit an address size prefix if we didn't already emit one.
- if (Is64BitMode && !(TSFlags & X86II::AdSize))
- EmitByte(0x67, CurByte, OS);
-#endif
-
// Check if we need an override.
switch (Op.getReg()) {
case X86::CS: EmitByte(0x2E, CurByte, OS); return;