mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 15:39:00 +00:00
Fixing build warning/error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192756 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e891775aa1
commit
e5fdae03a4
@ -83,10 +83,11 @@ static const char *processFDE(const char *Entry, bool isDeregister) {
|
||||
P += 4;
|
||||
uint32_t Offset = *((const uint32_t *)P);
|
||||
if (Offset != 0)
|
||||
if (isDeregister)
|
||||
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