diff options
| author | Serge Pavlov <sepavloff@gmail.com> | 2018-02-15 09:45:59 +0000 |
|---|---|---|
| committer | Serge Pavlov <sepavloff@gmail.com> | 2018-02-15 09:45:59 +0000 |
| commit | 4500001905805be5437cfe21e9f65820202c8966 (patch) | |
| tree | 93ba69588b99c6008de5d6306d91c0a9ddf0feae /llvm/lib/ExecutionEngine/Interpreter | |
| parent | ce719a0def0054c03a9787ddb5a1e0235bbea103 (diff) | |
| download | bcm5719-llvm-4500001905805be5437cfe21e9f65820202c8966.tar.gz bcm5719-llvm-4500001905805be5437cfe21e9f65820202c8966.zip | |
Revert r325224 "Report fatal error in the case of out of memory"
It caused fails on some buildbots.
llvm-svn: 325227
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
| -rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp index f641f5023bc..96844439e72 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -974,7 +974,7 @@ void Interpreter::visitAllocaInst(AllocaInst &I) { unsigned MemToAlloc = std::max(1U, NumElements * TypeSize); // Allocate enough memory to hold the type... - void *Memory = llvm::malloc(MemToAlloc); + void *Memory = malloc(MemToAlloc); DEBUG(dbgs() << "Allocated Type: " << *Ty << " (" << TypeSize << " bytes) x " << NumElements << " (Total: " << MemToAlloc << ") at " |

