diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ExecutionEngine/RTDyldMemoryManager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/RTDyldMemoryManager.cpp b/lib/ExecutionEngine/RTDyldMemoryManager.cpp index 11a5ec7..d7aa498 100644 --- a/lib/ExecutionEngine/RTDyldMemoryManager.cpp +++ b/lib/ExecutionEngine/RTDyldMemoryManager.cpp @@ -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; } |