commit | f44085a86a3f3cb743fb8822108d8360dd094539 | [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 | 68d2d2f82361e29d2f35608094179c6b5c8132eb [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;