mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-09 16:45:03 +00:00
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:
parent
68d2d2f823
commit
f44085a86a
@ -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…
x
Reference in New Issue
Block a user