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 | c2ccbaffa334bdd7f1c4923589543001cfff7b5c (patch) | |
tree | fefc2e59d67b6c47cfe5a0fcef16bee16f22fbe4 /llvm/lib | |
parent | c726c1962d55ceaf34519ce49b8f8f18e2b775cc (diff) | |
download | bcm5719-llvm-c2ccbaffa334bdd7f1c4923589543001cfff7b5c.tar.gz bcm5719-llvm-c2ccbaffa334bdd7f1c4923589543001cfff7b5c.zip |
Really fix build warning/error that I think r192756 was trying to fix.
llvm-svn: 192773
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp b/llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp index d7aa498e499..8e205142786 100644 --- a/llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp +++ b/llvm/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; } |