mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Allow reducer interfaces to mutate the lists passed in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5909 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ff4aaf0010
commit
b4ebe13643
@ -23,8 +23,8 @@ struct ListReducer {
|
||||
// if the Kept list still satisfies the property, but if it is going to check
|
||||
// the prefix anyway, it can.
|
||||
//
|
||||
virtual TestResult doTest(const std::vector<ElTy> &Prefix,
|
||||
const std::vector<ElTy> &Kept) = 0;
|
||||
virtual TestResult doTest(std::vector<ElTy> &Prefix,
|
||||
std::vector<ElTy> &Kept) = 0;
|
||||
|
||||
// reduceList - This function attempts to reduce the length of the specified
|
||||
// list while still maintaining the "test" property. This is the core of the
|
||||
|
Loading…
Reference in New Issue
Block a user