[llvm-commits] [llvm] r114099 - /llvm/trunk/include/llvm/MC/MCInst.h
    Jim Grosbach 
    grosbach at apple.com
       
    Thu Sep 16 10:45:21 PDT 2010
    
    
  
Author: grosbach
Date: Thu Sep 16 12:45:21 2010
New Revision: 114099
URL: http://llvm.org/viewvc/llvm-project?rev=114099&view=rev
Log:
Remove unnecessary by-reference return.
Modified:
    llvm/trunk/include/llvm/MC/MCInst.h
Modified: llvm/trunk/include/llvm/MC/MCInst.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCInst.h?rev=114099&r1=114098&r2=114099&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCInst.h (original)
+++ llvm/trunk/include/llvm/MC/MCInst.h Thu Sep 16 12:45:21 2010
@@ -75,7 +75,7 @@
     ImmVal = Val;
   }
 
-  const double &getFPImm() const {
+  const double getFPImm() const {
     assert(isFPImm() && "This is not an FP immediate");
     return FPImmVal;
   }
    
    
More information about the llvm-commits
mailing list