File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1149,19 +1149,19 @@ struct AAPointerInfoFloating : public AAPointerInfoImpl {
1149
1149
return true ;
1150
1150
};
1151
1151
1152
+ // / Helper struct, will support ranges eventually.
1153
+ struct OffsetInfo {
1154
+ int64_t Offset = AA::PointerInfo::OffsetAndSize::Unknown;
1155
+
1156
+ bool operator ==(const OffsetInfo &OI) const { return Offset == OI.Offset ; }
1157
+ };
1158
+
1152
1159
// / See AbstractAttribute::updateImpl(...).
1153
1160
ChangeStatus updateImpl (Attributor &A) override {
1154
1161
using namespace AA ::PointerInfo;
1155
1162
State S = getState ();
1156
1163
ChangeStatus Changed = ChangeStatus::UNCHANGED;
1157
1164
Value &AssociatedValue = getAssociatedValue ();
1158
- struct OffsetInfo {
1159
- int64_t Offset = OffsetAndSize::Unknown;
1160
-
1161
- bool operator ==(const OffsetInfo &OI) const {
1162
- return Offset == OI.Offset ;
1163
- }
1164
- };
1165
1165
1166
1166
const DataLayout &DL = A.getDataLayout ();
1167
1167
DenseMap<Value *, OffsetInfo> OffsetInfoMap;
You can’t perform that action at this time.
0 commit comments