aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86InstrInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-07 02:48:55 +0000
committerChris Lattner <sabre@nondot.org>2008-01-07 02:48:55 +0000
commitcc8cd0cbf12c12916d4b38ef0de5be5501c8270e (patch)
tree5f6826d4941017ac8ed24e65dfea73d2bdfb3714 /lib/Target/X86/X86InstrInfo.h
parentba6da5d5b72618c836ebc3a7613583a16bc8ceac (diff)
downloadexternal_llvm-cc8cd0cbf12c12916d4b38ef0de5be5501c8270e.zip
external_llvm-cc8cd0cbf12c12916d4b38ef0de5be5501c8270e.tar.gz
external_llvm-cc8cd0cbf12c12916d4b38ef0de5be5501c8270e.tar.bz2
remove MachineOpCode typedef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrInfo.h')
-rw-r--r--lib/Target/X86/X86InstrInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h
index ccee43d..c0aefb4 100644
--- a/lib/Target/X86/X86InstrInfo.h
+++ b/lib/Target/X86/X86InstrInfo.h
@@ -367,7 +367,7 @@ public:
unsigned char getBaseOpcodeFor(const TargetInstrDescriptor *TID) const {
return TID->TSFlags >> X86II::OpcodeShift;
}
- unsigned char getBaseOpcodeFor(MachineOpCode Opcode) const {
+ unsigned char getBaseOpcodeFor(unsigned Opcode) const {
return getBaseOpcodeFor(&get(Opcode));
}