mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Repair compilation of llvm-stress after r350835.
Apparently it doesn't get built by 'ninja check'. :( llvm-svn: 350843
This commit is contained in:
parent
8782dad3bd
commit
46f3f66af0
@ -356,7 +356,7 @@ struct StoreModifier: public Modifier {
|
||||
void Act() override {
|
||||
// Try to use predefined pointers. If non-exist, use undef pointer value;
|
||||
Value *Ptr = getRandomPointerValue();
|
||||
PointerType *Tp = Ptr->getType();
|
||||
PointerType *Tp = cast<PointerType>(Ptr->getType());
|
||||
Value *Val = getRandomValue(Tp->getElementType());
|
||||
Type *ValTy = Val->getType();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user