aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-09-14 20:08:19 +0000
committerDan Gohman <gohman@apple.com>2007-09-14 20:08:19 +0000
commitcb648f90a26eb05ae8d508d500ca12881df50824 (patch)
tree8c3bb052505c1aa007d453755f4ee921341127c8 /lib/CodeGen/MachineInstr.cpp
parent7effac5475c9057dd1c384d33f41d518ff387207 (diff)
Remove spurious consts. This fixes warnings with compilers that
are strict about such things. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
-rw-r--r--lib/CodeGen/MachineInstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp
index 8a592318c5..d6aab291f9 100644
--- a/lib/CodeGen/MachineInstr.cpp
+++ b/lib/CodeGen/MachineInstr.cpp
@@ -116,7 +116,7 @@ MachineInstr::~MachineInstr() {
/// getOpcode - Returns the opcode of this MachineInstr.
///
-const int MachineInstr::getOpcode() const {
+int MachineInstr::getOpcode() const {
return TID->Opcode;
}