Index: lib/Transforms/NaCl/PromoteIntegers.cpp |
diff --git a/lib/Transforms/NaCl/PromoteIntegers.cpp b/lib/Transforms/NaCl/PromoteIntegers.cpp |
index dd1f091c615702d169231bd4a6c759ee38bea1a6..e7d1aad3f896ad1485cf7ba717810a7386d14db7 100644 |
--- a/lib/Transforms/NaCl/PromoteIntegers.cpp |
+++ b/lib/Transforms/NaCl/PromoteIntegers.cpp |
@@ -440,7 +440,7 @@ static void convertInstruction(Instruction *Inst, ConversionState &State) { |
if (shouldConvert(Store->getValueOperand())) { |
splitStore(Store, State); |
} |
- } else if (CallInst *Call = dyn_cast<CallInst>(Inst)) { |
+ } else if (isa<CallInst>(Inst)) { |
report_fatal_error("can't convert calls with illegal types"); |
} else if (BinaryOperator *Binop = dyn_cast<BinaryOperator>(Inst)) { |
Value *NewInst = NULL; |