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:
parent
543296ed84
commit
907f114dd3
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user