[LLVMbugs] [Bug 21462] New: lib/Target/Mips/MipsABIInfo.h:40: performance problem ?

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 3 08:10:13 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21462

            Bug ID: 21462
           Summary: lib/Target/Mips/MipsABIInfo.h:40: performance problem
                    ?
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dcb314 at hotmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

lib/Target/Mips/MipsABIInfo.h:40]: (performance) Function parameter 'Other'
should be passed by reference.

  bool operator<(const MipsABIInfo Other) const {

Maybe

  bool operator<(const MipsABIInfo & Other) const {

would be better.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141103/2d9133c6/attachment.html>


More information about the llvm-bugs mailing list