aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-08-14 23:25:30 +0000
committerOwen Anderson <resistor@mac.com>2008-08-14 23:25:30 +0000
commit29bf84e051bb3798e12fe28df10761f8af1a0b40 (patch)
tree973503a87d27b6fd94ca9f38cc2bb1c9f2ecd23d /lib/CodeGen/MachineInstr.cpp
parentf0107a4032735340524617064e8755b0ecd1b62b (diff)
downloadexternal_llvm-29bf84e051bb3798e12fe28df10761f8af1a0b40.zip
external_llvm-29bf84e051bb3798e12fe28df10761f8af1a0b40.tar.gz
external_llvm-29bf84e051bb3798e12fe28df10761f8af1a0b40.tar.bz2
Move MachineInstr::getOpcode inline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
-rw-r--r--lib/CodeGen/MachineInstr.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp
index d602e24..ccd53fa 100644
--- a/lib/CodeGen/MachineInstr.cpp
+++ b/lib/CodeGen/MachineInstr.cpp
@@ -345,12 +345,6 @@ MachineInstr::~MachineInstr() {
#endif
}
-/// getOpcode - Returns the opcode of this MachineInstr.
-///
-int MachineInstr::getOpcode() const {
- return TID->Opcode;
-}
-
/// getRegInfo - If this instruction is embedded into a MachineFunction,
/// return the MachineRegisterInfo object for the current function, otherwise
/// return null.