X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FTGValueTypes.cpp;h=3ac71a49147f41ce1ce7970d4a07b6534ce119ac;hb=22bd64173981bf1251c4b3bfc684207340534ba3;hp=07400cf7447b528a187f5c90f1b645a8e7539c91;hpb=8b43dbf9ead694a011944f7b33ed194d901d2313;p=oota-llvm.git diff --git a/utils/TableGen/TGValueTypes.cpp b/utils/TableGen/TGValueTypes.cpp index 07400cf7447..3ac71a49147 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(); }