Fix a backwards check in the JIT symbol table code
llvm-svn: 51229
This commit is contained in:
parent
8e12298192
commit
7af15f17b5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue