mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-13 06:06:27 +00:00
Add an assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119788 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8dc926755f
commit
b651a96ef2
@ -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