summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
diff options
context:
space:
mode:
authorWeiming Zhao <wmzhao.code@gmail.com>2018-04-16 03:44:03 +0000
committerWeiming Zhao <wmzhao.code@gmail.com>2018-04-16 03:44:03 +0000
commit79f2d093dd4ab37e64f732d95e9afd394d6ccfe3 (patch)
tree56691b7654bba52c269945c6603b7b6511ed870f /llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
parentc84e77aeaefccb8d0c4c508b8017dcad80607f53 (diff)
downloadbcm5719-llvm-79f2d093dd4ab37e64f732d95e9afd394d6ccfe3.tar.gz
bcm5719-llvm-79f2d093dd4ab37e64f732d95e9afd394d6ccfe3.zip
Rename ObjectMemoryBuffer to SmallVectorMemoryBuffer; NFCI
Summary: As discussed in https://reviews.llvm.org/D45606, it makes more sense to name the class as SmallVectorMemoryBuffer Reviewers: bkramer, dblaikie Reviewed By: dblaikie Subscribers: mehdi_amini, eraman, llvm-commits Differential Revision: https://reviews.llvm.org/D45661 llvm-svn: 330107
Diffstat (limited to 'llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
index 7b3acb830e0..82647ea9440 100644
--- a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
+++ b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
@@ -164,7 +164,7 @@ std::unique_ptr<MemoryBuffer> MCJIT::emitObject(Module *M) {
// Flush the output buffer to get the generated code into memory
std::unique_ptr<MemoryBuffer> CompiledObjBuffer(
- new ObjectMemoryBuffer(std::move(ObjBufferSV)));
+ new SmallVectorMemoryBuffer(std::move(ObjBufferSV)));
// If we have an object cache, tell it about the new object.
// Note that we're using the compiled image, not the loaded image (as below).
OpenPOWER on IntegriCloud