forked from OSchip/llvm-project
[AIX][XCOFF][NFC] Change geNumberOfVRSaved function name to getNumberOfVRSaved.
SUMMARY: Change geNumberOfVRSaved function name to getNumberOfVRSaved of class TBVectorExt Reviewers: hubert.reinterpretcast, Jason Liu Differential Revision: https://reviews.llvm.org/D92225
This commit is contained in:
parent
a0994cbe27
commit
851779652a
|
@ -404,7 +404,7 @@ class TBVectorExt {
|
|||
TBVectorExt(StringRef TBvectorStrRef);
|
||||
|
||||
public:
|
||||
uint8_t geNumberOfVRSaved() const;
|
||||
uint8_t getNumberOfVRSaved() const;
|
||||
bool isVRSavedOnStack() const;
|
||||
bool hasVarArgs() const;
|
||||
uint8_t getNumberOfVectorParms() const;
|
||||
|
|
|
@ -854,7 +854,7 @@ TBVectorExt::TBVectorExt(StringRef TBvectorStrRef) {
|
|||
#define GETVALUEWITHMASK(X) (Data & (TracebackTable::X))
|
||||
#define GETVALUEWITHMASKSHIFT(X, S) \
|
||||
((Data & (TracebackTable::X)) >> (TracebackTable::S))
|
||||
uint8_t TBVectorExt::geNumberOfVRSaved() const {
|
||||
uint8_t TBVectorExt::getNumberOfVRSaved() const {
|
||||
return GETVALUEWITHMASKSHIFT(NumberOfVRSavedMask, NumberOfVRSavedShift);
|
||||
}
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ TEST(XCOFFObjectFileTest, XCOFFTracebackTableAPIHasVectorInfo) {
|
|||
ASSERT_TRUE(TT.getVectorExt());
|
||||
TBVectorExt VecExt = TT.getVectorExt().getValue();
|
||||
|
||||
EXPECT_EQ(VecExt.geNumberOfVRSaved(), 0);
|
||||
EXPECT_EQ(VecExt.getNumberOfVRSaved(), 0);
|
||||
EXPECT_TRUE(VecExt.isVRSavedOnStack());
|
||||
EXPECT_FALSE(VecExt.hasVarArgs());
|
||||
|
||||
|
@ -232,7 +232,7 @@ TEST(XCOFFObjectFileTest, XCOFFTracebackTableAPIHasVectorInfo1) {
|
|||
ASSERT_TRUE(TT.getVectorExt());
|
||||
TBVectorExt VecExt = TT.getVectorExt().getValue();
|
||||
|
||||
EXPECT_EQ(VecExt.geNumberOfVRSaved(), 4);
|
||||
EXPECT_EQ(VecExt.getNumberOfVRSaved(), 4);
|
||||
EXPECT_FALSE(VecExt.isVRSavedOnStack());
|
||||
EXPECT_TRUE(VecExt.hasVarArgs());
|
||||
|
||||
|
|
Loading…
Reference in New Issue