aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86InstrInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-07-22 21:05:13 +0000
committerChris Lattner <sabre@nondot.org>2010-07-22 21:05:13 +0000
commit456fdaf0cea4bd195eacc9796fedb71b62290cfe (patch)
treea01c493970efe0ab5e2c00e5a8a03649d7aaad74 /lib/Target/X86/X86InstrInfo.h
parent169c932759a5e8f1db586775f2bba1e65c08cadd (diff)
downloadexternal_llvm-456fdaf0cea4bd195eacc9796fedb71b62290cfe.zip
external_llvm-456fdaf0cea4bd195eacc9796fedb71b62290cfe.tar.gz
external_llvm-456fdaf0cea4bd195eacc9796fedb71b62290cfe.tar.bz2
instead of migrating it to the MC instruction encoder, just
rip out the implementation of X86InstrInfo::GetInstSizeInBytes. The code being ripped out just implemented a copy and hacked up version of the (old) instruction encoder, and is buggy and terrible in other ways. Since "GetInstSizeInBytes" is really only there to support the JIT's "NeedsExactSize" hook (which noone is using), just rip out the code. I will rip out the NeedsExactSize hook next. This resolves rdar://7617809 - switch X86InstrInfo::GetInstSizeInBytes to use X86MCCodeEmitter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrInfo.h')
-rw-r--r--lib/Target/X86/X86InstrInfo.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h
index 5161c6d..ecd3261 100644
--- a/lib/Target/X86/X86InstrInfo.h
+++ b/lib/Target/X86/X86InstrInfo.h
@@ -820,7 +820,6 @@ public:
if (!MO.isReg()) return false;
return isX86_64ExtendedReg(MO.getReg());
}
- static unsigned determineREX(const MachineInstr &MI);
/// isX86_64ExtendedReg - Is the MachineOperand a x86-64 extended (r8 or
/// higher) register? e.g. r8, xmm8, xmm13, etc.