summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-10-16 06:50:36 +0000
committerCraig Topper <craig.topper@gmail.com>2013-10-16 06:50:36 +0000
commitc2ccbaffa334bdd7f1c4923589543001cfff7b5c (patch)
treefefc2e59d67b6c47cfe5a0fcef16bee16f22fbe4 /llvm/lib
parentc726c1962d55ceaf34519ce49b8f8f18e2b775cc (diff)
downloadbcm5719-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.cpp8
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;
}
OpenPOWER on IntegriCloud