From 6dbe29e34e0017dac703f951429964d9c95b528c Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Thu, 16 Sep 2010 17:48:08 +0000 Subject: [PATCH] make this non brain dead... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114100 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCInst.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/MC/MCInst.h b/include/llvm/MC/MCInst.h index 622973ead91..76515488ec4 100644 --- a/include/llvm/MC/MCInst.h +++ b/include/llvm/MC/MCInst.h @@ -75,7 +75,7 @@ public: ImmVal = Val; } - const double getFPImm() const { + double getFPImm() const { assert(isFPImm() && "This is not an FP immediate"); return FPImmVal; }