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
This commit is contained in:
Nate Begeman 2008-05-18 19:09:10 +00:00
parent 68d2d2f823
commit f44085a86a

View File

@ -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;