From: Jim Laskey Date: Fri, 10 Nov 2006 14:44:12 +0000 (+0000) Subject: Shut up the warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8097ef3d7b8d429b04e23552d8ab8d0855c41563;p=oota-llvm.git Shut up the warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31635 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 94a51c09f5e..06d8f3acbf0 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -180,7 +180,7 @@ public: assert(isRegister() && "Wrong MachineOperand accessor"); return IsImp; } - bool setImplicit() { + void setImplicit() { assert(isRegister() && "Wrong MachineOperand accessor"); IsImp = true; }