From 9c8d8fc98fe7105af8bf4e8d709e706d4327969e Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Thu, 30 Sep 2021 00:57:57 +0100 Subject: [PATCH] [NFC] [hwasan] Remove unneeded member. Reviewed By: hctim Differential Revision: https://reviews.llvm.org/D110791 --- llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h b/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h index 5a0fb83..6c351e3 100644 --- a/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h +++ b/llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h @@ -26,7 +26,6 @@ class InterestingMemoryOperand { public: Use *PtrUse; bool IsWrite; - Type *OpType; uint64_t TypeSize; MaybeAlign Alignment; // The mask Value, if we're looking at a masked load/store. @@ -35,8 +34,7 @@ public: InterestingMemoryOperand(Instruction *I, unsigned OperandNo, bool IsWrite, class Type *OpType, MaybeAlign Alignment, Value *MaybeMask = nullptr) - : IsWrite(IsWrite), OpType(OpType), Alignment(Alignment), - MaybeMask(MaybeMask) { + : IsWrite(IsWrite), Alignment(Alignment), MaybeMask(MaybeMask) { const DataLayout &DL = I->getModule()->getDataLayout(); TypeSize = DL.getTypeStoreSizeInBits(OpType); PtrUse = &I->getOperandUse(OperandNo); -- 2.7.4