x87StackOptimizationPass: Fix isValid()

Previously this wouldn't have worked, since .first isn't a valid member.
The only reason it wasn't caught is because the function is never
instantiated.
This commit is contained in:
LC committed 2026-07-16 09:56:14 -04:00
1 parent 35bc502062
commit 9e26c57643
1 file changed
+1 -1
@@ -96,7 +96,7 @@ public:
}
bool isValid(size_t Offset) const {
return buffer[Offset].first;
return buffer[Offset].Type == StackSlot::VALID;
}
void clear() {