diff options
-rw-r--r-- | include/llvm/MC/MCInst.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCInst.h b/include/llvm/MC/MCInst.h index 622973ead9..76515488ec 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; } |