projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add mfasr and mtasr
[oota-llvm.git]
/
lib
/
ExecutionEngine
/
JIT
/
JITMemoryManager.cpp
diff --git
a/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
b/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
index d0e38137f2e309c507c642163e820a5820437753..584b93f81502a367012540f8eef2d366c8d9960e 100644
(file)
--- a/
lib/ExecutionEngine/JIT/JITMemoryManager.cpp
+++ b/
lib/ExecutionEngine/JIT/JITMemoryManager.cpp
@@
-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;
}