[PATCH] D92225: [AIX][XCOFF][NFC] Change geNumberOfVRSaved entry to getNumberOfVRSaved.
Digger via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 27 06:09:23 PST 2020
DiggerLin created this revision.
DiggerLin added a reviewer: jasonliu.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
DiggerLin requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92225
Files:
llvm/include/llvm/Object/XCOFFObjectFile.h
llvm/lib/Object/XCOFFObjectFile.cpp
llvm/unittests/Object/XCOFFObjectFileTest.cpp
Index: llvm/unittests/Object/XCOFFObjectFileTest.cpp
===================================================================
--- llvm/unittests/Object/XCOFFObjectFileTest.cpp
+++ llvm/unittests/Object/XCOFFObjectFileTest.cpp
@@ -198,7 +198,7 @@
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());
Index: llvm/lib/Object/XCOFFObjectFile.cpp
===================================================================
--- llvm/lib/Object/XCOFFObjectFile.cpp
+++ llvm/lib/Object/XCOFFObjectFile.cpp
@@ -854,7 +854,7 @@
#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);
}
Index: llvm/include/llvm/Object/XCOFFObjectFile.h
===================================================================
--- llvm/include/llvm/Object/XCOFFObjectFile.h
+++ llvm/include/llvm/Object/XCOFFObjectFile.h
@@ -404,7 +404,7 @@
TBVectorExt(StringRef TBvectorStrRef);
public:
- uint8_t geNumberOfVRSaved() const;
+ uint8_t getNumberOfVRSaved() const;
bool isVRSavedOnStack() const;
bool hasVarArgs() const;
uint8_t getNumberOfVectorParms() const;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92225.308034.patch
Type: text/x-patch
Size: 1563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201127/f5b3fa09/attachment.bin>
More information about the llvm-commits
mailing list