aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/MC/MCParser/AsmParser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp
index 5de2150478..c5d2aa078a 100644
--- a/lib/MC/MCParser/AsmParser.cpp
+++ b/lib/MC/MCParser/AsmParser.cpp
@@ -616,6 +616,9 @@ AsmParser::ApplyModifierToExpr(const MCExpr *E,
return MCBinaryExpr::Create(BE->getOpcode(), LHS, RHS, getContext());
}
}
+
+ assert(0 && "Invalid expression kind!");
+ return 0;
}
/// ParseExpression - Parse an expression and return it.