mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 16:37:42 +00:00
rearrange a conditional. Even if this weren't #if 0'd out, this would
have no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77741 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bef8768bd0
commit
81c9a06937
@ -556,16 +556,17 @@ void DwarfException::EmitExceptionTable() {
|
||||
|
||||
#if 0
|
||||
// FIXME: This should default to what the system wants, not just "absptr".
|
||||
if (!TypeInfos.empty() || !FilterIds.empty()) {
|
||||
if (TypeInfos.empty() && FilterIds.empty()) {
|
||||
Asm->EmitInt8(dwarf::DW_EH_PE_omit);
|
||||
Asm->EOL("TType format (DW_EH_PE_omit)");
|
||||
} else {
|
||||
Asm->EmitInt8(TAI->PreferredEHDataFormat());
|
||||
|
||||
// FIXME: The comment here should correspond with what PreferredEHDataFormat
|
||||
// returned.
|
||||
Asm->EOL("TType format (DW_EH_PE_xxxxx)");
|
||||
Asm->EmitULEB128Bytes(TypeOffset);
|
||||
Asm->EOL("TType base offset");
|
||||
} else {
|
||||
Asm->EmitInt8(dwarf::DW_EH_PE_omit);
|
||||
Asm->EOL("TType format (DW_EH_PE_omit)");
|
||||
}
|
||||
#else
|
||||
Asm->EmitInt8(dwarf::DW_EH_PE_absptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user