mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-12 10:52:38 +00:00
[DeLICM] Remove overloaded Knowledge constructor. NFC.
The isl C++ bindings now has implicit conversions from isl::set to isl::union_set. Therefore the additional overload accepting isl::set is not required anymore. llvm-svn: 298529
This commit is contained in:
parent
b44c77667a
commit
d07d155ebb
@ -509,12 +509,6 @@ public:
|
||||
checkConsistency();
|
||||
}
|
||||
|
||||
/// Alternative constructor taking isl_sets instead isl_union_sets.
|
||||
Knowledge(isl::set Occupied, isl::set Unused, isl::set Written)
|
||||
: Knowledge(give(isl_union_set_from_set(Occupied.take())),
|
||||
give(isl_union_set_from_set(Unused.take())),
|
||||
give(isl_union_set_from_set(Written.take()))) {}
|
||||
|
||||
/// Return whether this object was not default-constructed.
|
||||
bool isUsable() const { return (Occupied || Unused) && Written; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user