mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Really fix build warning/error that I think r192756 was trying to fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192773 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1e6810005f
commit
2369bf9ecf
@ -82,12 +82,12 @@ static const char *processFDE(const char *Entry, bool isDeregister) {
|
||||
uint32_t Length = *((const uint32_t *)P);
|
||||
P += 4;
|
||||
uint32_t Offset = *((const uint32_t *)P);
|
||||
if (Offset != 0)
|
||||
if (isDeregister) {
|
||||
if (Offset != 0) {
|
||||
if (isDeregister)
|
||||
__deregister_frame(const_cast<char *>(Entry));
|
||||
} else {
|
||||
else
|
||||
__register_frame(const_cast<char *>(Entry));
|
||||
}
|
||||
}
|
||||
return P + Length;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user