This should fix lld-x86_64-darwin13
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303683
91177308-0d34-0410-b5e6-
96231b3b80d8
std::string Explanation = "";
std::string Separator = "";
if (N->isLeaf()) {
- if (IntInit *Int = dyn_cast<IntInit>(N->getLeafValue()))
+ if (isa<IntInit>(N->getLeafValue()))
return Error::success();
Explanation = "Is a leaf";
if (Src->isLeaf()) {
Init *SrcInit = Src->getLeafValue();
- if (IntInit *SrcIntInit = dyn_cast<IntInit>(SrcInit)) {
+ if (isa<IntInit>(SrcInit)) {
InsnMatcher.addPredicate<InstructionOpcodeMatcher>(
&Target.getInstruction(RK.getDef("G_CONSTANT")));
} else