Fix a backwards check in the JIT symbol table code

llvm-svn: 51229
This commit is contained in:
Nate Begeman 2008-05-18 19:09:10 +00:00
parent 8e12298192
commit 7af15f17b5
1 changed files with 1 additions and 1 deletions

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;