projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove and forbid raw_svector_ostream::flush() calls.
[oota-llvm.git]
/
lib
/
ExecutionEngine
/
MCJIT
/
MCJIT.cpp
diff --git
a/lib/ExecutionEngine/MCJIT/MCJIT.cpp
b/lib/ExecutionEngine/MCJIT/MCJIT.cpp
index c201f39a375e492c26edf02c93a546198f8b0a57..bbe4432d36b318a1a40de7dbd4887d44a1ed58c4 100644
(file)
--- a/
lib/ExecutionEngine/MCJIT/MCJIT.cpp
+++ b/
lib/ExecutionEngine/MCJIT/MCJIT.cpp
@@
-159,7
+159,6
@@
std::unique_ptr<MemoryBuffer> MCJIT::emitObject(Module *M) {
// Initialize passes.
PM.run(*M);
// Flush the output buffer to get the generated code into memory
- ObjStream.flush();
std::unique_ptr<MemoryBuffer> CompiledObjBuffer(
new ObjectMemoryBuffer(std::move(ObjBufferSV)));