Add mfasr and mtasr
[oota-llvm.git] / lib / ExecutionEngine / JIT / JITMemoryManager.cpp
index d0e38137f2e309c507c642163e820a5820437753..584b93f81502a367012540f8eef2d366c8d9960e 100644 (file)
@@ -643,7 +643,7 @@ DefaultJITMemoryManager::DefaultJITMemoryManager()
 }
 
 void DefaultJITMemoryManager::AllocateGOT() {
-  assert(GOTBase == 0 && "Cannot allocate the got multiple times");
+  assert(!GOTBase && "Cannot allocate the got multiple times");
   GOTBase = new uint8_t[sizeof(void*) * 8192];
   HasGOT = true;
 }