HomePhabricator

Change a TerminatorInst* to an Instruction* in HotColdSplitting.cpp.

Description

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.

Details

Committed
lhamesOct 15 2018, 3:27 PM
Parents
rL344565: [ORC] Switch to DenseMap/DenseSet for ORC symbol map/set types.
Branches
Unknown
Tags
Unknown