[llvm] r179983 - Remove unused, undefined ArgFlagsTy::getArgFlagsString; add a comment about 'returned'

Stephen Lin stephenwlin at gmail.com
Sun Apr 21 11:05:20 PDT 2013


Author: stephenwlin
Date: Sun Apr 21 13:05:20 2013
New Revision: 179983

URL: http://llvm.org/viewvc/llvm-project?rev=179983&view=rev
Log:
Remove unused, undefined ArgFlagsTy::getArgFlagsString; add a comment about 'returned'

Modified:
    llvm/trunk/include/llvm/Target/TargetCallingConv.h

Modified: llvm/trunk/include/llvm/Target/TargetCallingConv.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetCallingConv.h?rev=179983&r1=179982&r2=179983&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetCallingConv.h (original)
+++ llvm/trunk/include/llvm/Target/TargetCallingConv.h Sun Apr 21 13:05:20 2013
@@ -36,7 +36,7 @@ namespace ISD {
     static const uint64_t ByValOffs      = 4;
     static const uint64_t Nest           = 1ULL<<5;  ///< Nested fn static chain
     static const uint64_t NestOffs       = 5;
-    static const uint64_t Returned       = 1ULL<<6;
+    static const uint64_t Returned       = 1ULL<<6;  ///< Always returned
     static const uint64_t ReturnedOffs   = 6;
     static const uint64_t ByValAlign     = 0xFULL<<7; ///< Struct alignment
     static const uint64_t ByValAlignOffs = 7;
@@ -44,7 +44,7 @@ namespace ISD {
     static const uint64_t SplitOffs      = 11;
     static const uint64_t OrigAlign      = 0x1FULL<<27;
     static const uint64_t OrigAlignOffs  = 27;
-    static const uint64_t ByValSize      = 0xffffffffULL << 32; ///< Struct size
+    static const uint64_t ByValSize      = 0xffffffffULL<<32; ///< Struct size
     static const uint64_t ByValSizeOffs  = 32;
 
     static const uint64_t One            = 1ULL; ///< 1 of this type, for shifts
@@ -102,9 +102,6 @@ namespace ISD {
       Flags = (Flags & ~ByValSize) | (uint64_t(S) << ByValSizeOffs);
     }
 
-    /// getArgFlagsString - Returns the flags as a string, eg: "zext align:4".
-    std::string getArgFlagsString();
-
     /// getRawBits - Represent the flags as a bunch of bits.
     uint64_t getRawBits() const { return Flags; }
   };





More information about the llvm-commits mailing list