forked from OSchip/llvm-project
[IRExecutionUnit] Remove static_assert
This doesn't make sense on platforms other than 64 bit. llvm-svn: 360916
This commit is contained in:
parent
f09b9d419f
commit
3fdd4b74a6
|
|
@ -1023,8 +1023,6 @@ IRExecutionUnit::MemoryManager::getSymbolAddress(const std::string &Name) {
|
|||
|
||||
void *IRExecutionUnit::MemoryManager::getPointerToNamedFunction(
|
||||
const std::string &Name, bool AbortOnFailure) {
|
||||
static_assert(sizeof(void *) == 8, "");
|
||||
|
||||
return (void *)getSymbolAddress(Name);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue