forked from OSchip/llvm-project
verify-uselistorder: Add missing `static`
llvm-svn: 214595
This commit is contained in:
parent
3441ffe98d
commit
9a2017bfc3
|
@ -414,7 +414,7 @@ static void shuffleValueUseLists(Value *V, std::minstd_rand0 &Gen,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Shuffle all use-lists in a module.
|
/// Shuffle all use-lists in a module.
|
||||||
void shuffleUseLists(Module &M, unsigned SeedOffset) {
|
static void shuffleUseLists(Module &M, unsigned SeedOffset) {
|
||||||
DEBUG(dbgs() << "*** shuffle-use-lists ***\n");
|
DEBUG(dbgs() << "*** shuffle-use-lists ***\n");
|
||||||
std::minstd_rand0 Gen(std::minstd_rand0::default_seed + SeedOffset);
|
std::minstd_rand0 Gen(std::minstd_rand0::default_seed + SeedOffset);
|
||||||
DenseSet<Value *> Seen;
|
DenseSet<Value *> Seen;
|
||||||
|
|
Loading…
Reference in New Issue