From 94a720c73e11f8b2f532d3dfb4e145c6b35a2ea2 Mon Sep 17 00:00:00 2001 From: Stephen Lin Date: Sun, 21 Apr 2013 18:05:20 +0000 Subject: [PATCH] Remove unused, undefined ArgFlagsTy::getArgFlagsString; add a comment about 'returned' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179983 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetCallingConv.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/llvm/Target/TargetCallingConv.h b/include/llvm/Target/TargetCallingConv.h index 56ebfa41040..1fd0bd98b6f 100644 --- a/include/llvm/Target/TargetCallingConv.h +++ b/include/llvm/Target/TargetCallingConv.h @@ -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; } }; -- 2.34.1