Skip to content

Commit 9c8d8fc

Browse files
committed
[NFC] [hwasan] Remove unneeded member.
Reviewed By: hctim Differential Revision: https://reviews.llvm.org/D110791
1 parent 9794862 commit 9c8d8fc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class InterestingMemoryOperand {
2626
public:
2727
Use *PtrUse;
2828
bool IsWrite;
29-
Type *OpType;
3029
uint64_t TypeSize;
3130
MaybeAlign Alignment;
3231
// The mask Value, if we're looking at a masked load/store.
@@ -35,8 +34,7 @@ class InterestingMemoryOperand {
3534
InterestingMemoryOperand(Instruction *I, unsigned OperandNo, bool IsWrite,
3635
class Type *OpType, MaybeAlign Alignment,
3736
Value *MaybeMask = nullptr)
38-
: IsWrite(IsWrite), OpType(OpType), Alignment(Alignment),
39-
MaybeMask(MaybeMask) {
37+
: IsWrite(IsWrite), Alignment(Alignment), MaybeMask(MaybeMask) {
4038
const DataLayout &DL = I->getModule()->getDataLayout();
4139
TypeSize = DL.getTypeStoreSizeInBits(OpType);
4240
PtrUse = &I->getOperandUse(OperandNo);

0 commit comments

Comments
 (0)