aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ExecutionEngine/RTDyldMemoryManager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/RTDyldMemoryManager.cpp b/lib/ExecutionEngine/RTDyldMemoryManager.cpp
index d7aa498..8e20514 100644
--- a/lib/ExecutionEngine/RTDyldMemoryManager.cpp
+++ b/lib/ExecutionEngine/RTDyldMemoryManager.cpp
@@ -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;
}