diff options
Diffstat (limited to 'utils/TableGen/TGValueTypes.cpp')
-rw-r--r-- | utils/TableGen/TGValueTypes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/TGValueTypes.cpp b/utils/TableGen/TGValueTypes.cpp index 07400cf744..3ac71a4914 100644 --- a/utils/TableGen/TGValueTypes.cpp +++ b/utils/TableGen/TGValueTypes.cpp @@ -47,7 +47,7 @@ public: : Type(TK_ExtendedIntegerType), BitWidth(bits) {} static bool classof(const Type *T) { return T->getKind() == TK_ExtendedIntegerType; - }; + } unsigned getSizeInBits() const { return getBitWidth(); } @@ -64,7 +64,7 @@ public: : Type(TK_ExtendedVectorType), ElementType(elty), NumElements(num) {} static bool classof(const Type *T) { return T->getKind() == TK_ExtendedVectorType; - }; + } unsigned getSizeInBits() const { return getNumElements() * getElementType().getSizeInBits(); } |