[llvm-commits] [llvm] r51229 - /llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp
Nate Begeman
natebegeman at mac.com
Sun May 18 12:09:10 PDT 2008
Author: sampo
Date: Sun May 18 14:09:10 2008
New Revision: 51229
URL: http://llvm.org/viewvc/llvm-project?rev=51229&view=rev
Log:
Fix a backwards check in the JIT symbol table code
Modified:
llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp
Modified: llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp?rev=51229&r1=51228&r2=51229&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp Sun May 18 14:09:10 2008
@@ -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;
More information about the llvm-commits
mailing list