mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Attempt to fix the build after r220439
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220440 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cdb105b62f
commit
ae3811c355
@ -148,7 +148,7 @@ void MCObjectStreamer::EmitLabel(MCSymbol *Symbol) {
|
||||
// If there is a current fragment, mark the symbol as pointing into it.
|
||||
// Otherwise queue the label and set its fragment pointer when we emit the
|
||||
// next fragment.
|
||||
if (dyn_cast_or_null<MCDataFragment>(getCurrentFragment())) {
|
||||
if (auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment())) {
|
||||
SD.setFragment(F);
|
||||
SD.setOffset(F->getContents().size());
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user