[llvm-commits] [llvm] r114184 - /llvm/trunk/lib/MC/MCParser/AsmParser.cpp
Daniel Dunbar
daniel at zuster.org
Fri Sep 17 09:34:24 PDT 2010
Author: ddunbar
Date: Fri Sep 17 11:34:24 2010
New Revision: 114184
URL: http://llvm.org/viewvc/llvm-project?rev=114184&view=rev
Log:
Fix an MSVC warning.
Modified:
llvm/trunk/lib/MC/MCParser/AsmParser.cpp
Modified: llvm/trunk/lib/MC/MCParser/AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCParser/AsmParser.cpp?rev=114184&r1=114183&r2=114184&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCParser/AsmParser.cpp (original)
+++ llvm/trunk/lib/MC/MCParser/AsmParser.cpp Fri Sep 17 11:34:24 2010
@@ -616,6 +616,9 @@
return MCBinaryExpr::Create(BE->getOpcode(), LHS, RHS, getContext());
}
}
+
+ assert(0 && "Invalid expression kind!");
+ return 0;
}
/// ParseExpression - Parse an expression and return it.
More information about the llvm-commits
mailing list