mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 23:37:33 +00:00
OldPtr is llvm::Instruction. Remove unneeded cast<>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186880 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3f60fb8610
commit
85f6cbd1a5
@ -2540,7 +2540,7 @@ private:
|
||||
// as local as possible to the PHI. To do that, we re-use the location of
|
||||
// the old pointer, which necessarily must be in the right position to
|
||||
// dominate the PHI.
|
||||
IRBuilderTy PtrBuilder(cast<Instruction>(OldPtr));
|
||||
IRBuilderTy PtrBuilder(OldPtr);
|
||||
PtrBuilder.SetNamePrefix(Twine(NewAI.getName()) + "." + Twine(BeginOffset) +
|
||||
".");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user