summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commit96631091df224a2ad7d278152df539fb0a5c0886 (patch)
tree8dd0e4f9976bb72702f51a8820a946662fa1baeb /llvm/lib/CodeGen
parentf665aa981a28179f2169c17c8ef143eb88fd28d1 (diff)
downloadbcm5719-llvm-96631091df224a2ad7d278152df539fb0a5c0886.tar.gz
bcm5719-llvm-96631091df224a2ad7d278152df539fb0a5c0886.zip
Move MachineInstr::getOpcode inline.
llvm-svn: 54807
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index d602e2442f7..ccd53fa4c4e 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud