diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-09-16 17:45:21 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-09-16 17:45:21 +0000 |
commit | dc01b2e1df93b02bcee8457a91ab66e4110a599a (patch) | |
tree | 377e40fb55c9c6ab34db2235ea859fcf7fd4bf18 | |
parent | b74ca9d63104c94b800f2763a654d19f3eb30304 (diff) |
Remove unnecessary by-reference return.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114099 91177308-0d34-0410-b5e6-96231b3b80d8
-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 2966f0dea6..622973ead9 100644 --- a/include/llvm/MC/MCInst.h +++ b/include/llvm/MC/MCInst.h @@ -75,7 +75,7 @@ public: ImmVal = Val; } - const double &getFPImm() const { + const double getFPImm() const { assert(isFPImm() && "This is not an FP immediate"); return FPImmVal; } |