diff options
author | Dan Gohman <gohman@apple.com> | 2007-09-14 20:08:19 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-09-14 20:08:19 +0000 |
commit | cb648f90a26eb05ae8d508d500ca12881df50824 (patch) | |
tree | 8c3bb052505c1aa007d453755f4ee921341127c8 /lib/CodeGen/MachineInstr.cpp | |
parent | 7effac5475c9057dd1c384d33f41d518ff387207 (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.cpp | 2 |
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; } |