projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68d2d2f
)
Fix a backwards check in the JIT symbol table code
author
Nate Begeman
<natebegeman@mac.com>
Sun, 18 May 2008 19:09:10 +0000
(19:09 +0000)
committer
Nate Begeman
<natebegeman@mac.com>
Sun, 18 May 2008 19:09:10 +0000
(19:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51229
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/JIT/JITEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/JIT/JITEmitter.cpp
b/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 4f13ea4d49a0a929d9d547cc1ba633b0c2963995..422022af9cac48b6ac652134e4cdc5947218f6ec 100644
(file)
--- a/
lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/
lib/ExecutionEngine/JIT/JITEmitter.cpp
@@
-421,7
+421,7
@@
static void RemoveFunctionFromSymbolTable(void *FnStart) {
--SymTabPtr->NumSymbols;
// Finally, if we deleted the final symbol, deallocate the table itself.
- if (SymTabPtr->NumSymbols
=
= 0)
+ if (SymTabPtr->NumSymbols
!
= 0)
return;
*SymTabPtrPtr = 0;