mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
Set the encoding to '0' if we don't have an MAB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190354 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2c6ef1c433
commit
1d5ad97531
@ -74,11 +74,10 @@ raw_ostream &MCStreamer::GetCommentOS() {
|
||||
}
|
||||
|
||||
void MCStreamer::generateCompactUnwindEncodings(MCAsmBackend *MAB) {
|
||||
if (!MAB) return;
|
||||
for (std::vector<MCDwarfFrameInfo>::iterator I = FrameInfos.begin(),
|
||||
E = FrameInfos.end(); I != E; ++I)
|
||||
I->CompactUnwindEncoding =
|
||||
MAB->generateCompactUnwindEncoding(I->Instructions);
|
||||
(MAB ? MAB->generateCompactUnwindEncoding(I->Instructions) : 0);
|
||||
}
|
||||
|
||||
void MCStreamer::EmitDwarfSetLineAddr(int64_t LineDelta,
|
||||
|
Loading…
Reference in New Issue
Block a user