1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

rearrange a conditional. Even if this weren't #if 0'd out, this would

have no functionality change.

llvm-svn: 77741
This commit is contained in:
Chris Lattner 2009-07-31 22:03:47 +00:00
parent 543296ed84
commit 907f114dd3

View File

@ -556,16 +556,17 @@ void DwarfException::EmitExceptionTable() {
#if 0 #if 0
// FIXME: This should default to what the system wants, not just "absptr". // 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()); Asm->EmitInt8(TAI->PreferredEHDataFormat());
// FIXME: The comment here should correspond with what PreferredEHDataFormat // FIXME: The comment here should correspond with what PreferredEHDataFormat
// returned. // returned.
Asm->EOL("TType format (DW_EH_PE_xxxxx)"); Asm->EOL("TType format (DW_EH_PE_xxxxx)");
Asm->EmitULEB128Bytes(TypeOffset); Asm->EmitULEB128Bytes(TypeOffset);
Asm->EOL("TType base offset"); Asm->EOL("TType base offset");
} else {
Asm->EmitInt8(dwarf::DW_EH_PE_omit);
Asm->EOL("TType format (DW_EH_PE_omit)");
} }
#else #else
Asm->EmitInt8(dwarf::DW_EH_PE_absptr); Asm->EmitInt8(dwarf::DW_EH_PE_absptr);