commit | 6712561e1900fcf553d66bb73f90759319ef17f8 | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Mon Oct 15 22:27:03 2018 +0000 |
committer | Lang Hames <lhames@gmail.com> | Mon Oct 15 22:27:03 2018 +0000 |
tree | ee72e2250e84b84984ae93dd56363a4ccb5a813f | |
parent | 52ff03cff907cf240f95cbcbbec5e0f3b43c76b0 [diff] |
Change a TerminatorInst* to an Instruction* in HotColdSplitting.cpp. r344558 added an assignment to a TerminatorInst* from BasicBlock::getTerminatorInst(), but BasicBlock::getTerminatorInst() returns an Instruction* rather than a TerminatorInst* since r344504 so this fails to compile. Changing the variable to an Instruction* should get the bots building again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344566 91177308-0d34-0410-b5e6-96231b3b80d8