summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-11-10 14:44:12 +0000
committerJim Laskey <jlaskey@mac.com>2006-11-10 14:44:12 +0000
commit8097ef3d7b8d429b04e23552d8ab8d0855c41563 (patch)
tree99925094b1fe6d7e32372b66016c9d1d787a643a /include/llvm/CodeGen/MachineInstr.h
parent50b3b50cd03f09f7fa87f48edaa72d519948ab63 (diff)
downloadllvm-8097ef3d7b8d429b04e23552d8ab8d0855c41563.tar.gz
llvm-8097ef3d7b8d429b04e23552d8ab8d0855c41563.tar.bz2
llvm-8097ef3d7b8d429b04e23552d8ab8d0855c41563.tar.xz
Shut up the warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31635 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 94a51c09f5..06d8f3acbf 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;
}