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:
parent
52d6dd3079
commit
a06725942f
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user