diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-10-16 01:01:15 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-10-16 01:01:15 +0000 |
commit | e5fdae03a4137267ae124a35aef11f72bb6aa13b (patch) | |
tree | f47fd7ce12f649998e98849ad96abd7412273fb2 /lib | |
parent | e891775aa13b42d40483481b9dc5c701d1cc1be5 (diff) | |
download | external_llvm-e5fdae03a4137267ae124a35aef11f72bb6aa13b.zip external_llvm-e5fdae03a4137267ae124a35aef11f72bb6aa13b.tar.gz external_llvm-e5fdae03a4137267ae124a35aef11f72bb6aa13b.tar.bz2 |
Fixing build warning/error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192756 91177308-0d34-0410-b5e6-96231b3b80d8
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; } |