IRgen: Move BitFieldIsSigned bit into CGBitFieldInfo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100513 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGValue.h b/lib/CodeGen/CGValue.h
index 465ea76..91fb714 100644
--- a/lib/CodeGen/CGValue.h
+++ b/lib/CodeGen/CGValue.h
@@ -154,9 +154,6 @@
// Lvalue is a global reference of an objective-c object
bool GlobalObjCRef : 1;
- /// Is the bit-field value signed.
- bool BitFieldIsSigned : 1;
-
Expr *BaseIvarExp;
private:
void SetQualifiers(Qualifiers Quals) {
@@ -231,10 +228,6 @@
assert(isBitField());
return *BitFieldInfo;
}
- bool isBitFieldSigned() const {
- assert(isBitField());
- return BitFieldIsSigned;
- }
// property ref lvalue
const ObjCPropertyRefExpr *getPropertyRefExpr() const {
@@ -277,12 +270,11 @@
}
static LValue MakeBitfield(llvm::Value *V, const CGBitFieldInfo &Info,
- bool IsSigned, unsigned CVR) {
+ unsigned CVR) {
LValue R;
R.LVType = BitField;
R.V = V;
R.BitFieldInfo = &Info;
- R.BitFieldIsSigned = IsSigned;
R.SetQualifiers(Qualifiers::fromCVRMask(CVR));
return R;
}