mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Allow creation of single-byte MCAtoms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -21,7 +21,7 @@ static bool AtomComp(const MCAtom *L, uint64_t Addr) {
|
||||
void MCModule::map(MCAtom *NewAtom) {
|
||||
uint64_t Begin = NewAtom->Begin;
|
||||
|
||||
assert(Begin < NewAtom->End && "Creating MCAtom with endpoints reversed?");
|
||||
assert(Begin <= NewAtom->End && "Creating MCAtom with endpoints reversed?");
|
||||
|
||||
// Check for atoms already covering this range.
|
||||
AtomListTy::iterator I = std::lower_bound(atom_begin(), atom_end(),
|
||||
|
Reference in New Issue
Block a user