aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/NaCl/PromoteIntegers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/NaCl/PromoteIntegers.cpp')
-rw-r--r--lib/Transforms/NaCl/PromoteIntegers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/NaCl/PromoteIntegers.cpp b/lib/Transforms/NaCl/PromoteIntegers.cpp
index dd1f091c61..e7d1aad3f8 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;