1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Add an assert.

llvm-svn: 119788
This commit is contained in:
Rafael Espindola 2010-11-19 04:55:36 +00:00
parent 52d6dd3079
commit a06725942f

View File

@ -499,7 +499,9 @@ static void WriteFragmentData(const MCAssembler &Asm, const MCAsmLayout &Layout,
// FIXME: It is probably better if we don't call EvaluateAsAbsolute in
// here.
int64_t Value;
LF.getValue().EvaluateAsAbsolute(Value, &Layout);
bool IsAbs = LF.getValue().EvaluateAsAbsolute(Value, &Layout);
assert(IsAbs);
(void) IsAbs;
SmallString<32> Tmp;
raw_svector_ostream OSE(Tmp);
if (LF.isSigned())