summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit58c468fb09fd79c6f0af348f8185734b46766100 (patch)
tree64f466d332ff2d380c342634181addc1b5a182f8 /llvm/lib/CodeGen/MachineInstr.cpp
parentaefb23092ca0be00a2bde958518039102d7939fe (diff)
downloadbcm5719-llvm-58c468fb09fd79c6f0af348f8185734b46766100.tar.gz
bcm5719-llvm-58c468fb09fd79c6f0af348f8185734b46766100.zip
Remove spurious consts. This fixes warnings with compilers that
are strict about such things. llvm-svn: 41956
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index 8a592318c51..d6aab291f90 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud