From: Craig Topper Date: Wed, 16 Oct 2013 06:50:36 +0000 (+0000) Subject: Really fix build warning/error that I think r192756 was trying to fix. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2369bf9ecf6f5ee1d06e44a4e9a7849060146f07;p=oota-llvm.git 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 --- diff --git a/lib/ExecutionEngine/RTDyldMemoryManager.cpp b/lib/ExecutionEngine/RTDyldMemoryManager.cpp index d7aa498e499..8e205142786 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(Entry)); - } else { + else __register_frame(const_cast(Entry)); - } + } return P + Length; }