Remove strange resName slot check.
The resName slot check was added to fix the segmentation
fault. Such segmentation fault is caused by calling
bccReadBC again after bccLoadBinary fails. The problem is
that: the condition which distinguishs the caching mechanism
and compiler is no longer correct after this calling sequence:
bccReadBC -> bccLoadBinary -> bccReadBC
diff --git a/lib/bcc/Compiler.h b/lib/bcc/Compiler.h
index 5bb04c2..7ce8c36 100644
--- a/lib/bcc/Compiler.h
+++ b/lib/bcc/Compiler.h
@@ -101,6 +101,7 @@
oBCCHeader *mCacheHdr; // Set by loadCacheFile()
size_t mCacheSize; // Set by loadCacheFile()
ptrdiff_t mCacheDiff; // Set by loadCacheFile()
+ bool mCacheLoadFailed; // Set by loadCacheFile() used by readBC()
char *mCodeDataAddr; // Set by CodeMemoryManager if mCacheNew is true.
// Used by genCacheFile() for dumping