diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-10-16 06:50:36 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-10-16 06:50:36 +0000 |
commit | 2369bf9ecf6f5ee1d06e44a4e9a7849060146f07 (patch) | |
tree | 72774934f634c5d615b21706914e1261cea64877 /lib | |
parent | 1e6810005f426798ce2541c26f0cdc7a08670846 (diff) | |
download | external_llvm-2369bf9ecf6f5ee1d06e44a4e9a7849060146f07.zip external_llvm-2369bf9ecf6f5ee1d06e44a4e9a7849060146f07.tar.gz external_llvm-2369bf9ecf6f5ee1d06e44a4e9a7849060146f07.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ExecutionEngine/RTDyldMemoryManager.cpp | 8 |
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; } |