From cb648f90a26eb05ae8d508d500ca12881df50824 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 14 Sep 2007 20:08:19 +0000 Subject: 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 --- lib/CodeGen/MachineInstr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen') 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; } -- cgit v1.2.3