commit | 0751db2bd6285a809f75c276b2bc869423918a19 | [log] [tgz] |
---|---|---|
author | Nate Begeman <natebegeman@mac.com> | Sun May 18 19:09:10 2008 +0000 |
committer | Nate Begeman <natebegeman@mac.com> | Sun May 18 19:09:10 2008 +0000 |
tree | 0cf6baab015f3f0bb2bc4637569edfa12cd381c2 | |
parent | e567e0fe72a40f058e7d26f45b54a226e5c3fb0a [diff] [blame] |
Fix a backwards check in the JIT symbol table code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51229 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index 4f13ea4..422022a 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp
@@ -421,7 +421,7 @@ --SymTabPtr->NumSymbols; // Finally, if we deleted the final symbol, deallocate the table itself. - if (SymTabPtr->NumSymbols == 0) + if (SymTabPtr->NumSymbols != 0) return; *SymTabPtrPtr = 0;