diff options
author | Weiming Zhao <wmzhao.code@gmail.com> | 2018-04-16 03:44:03 +0000 |
---|---|---|
committer | Weiming Zhao <wmzhao.code@gmail.com> | 2018-04-16 03:44:03 +0000 |
commit | 79f2d093dd4ab37e64f732d95e9afd394d6ccfe3 (patch) | |
tree | 56691b7654bba52c269945c6603b7b6511ed870f /llvm/lib/ExecutionEngine/MCJIT | |
parent | c84e77aeaefccb8d0c4c508b8017dcad80607f53 (diff) | |
download | bcm5719-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')
-rw-r--r-- | llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/ExecutionEngine/MCJIT/MCJIT.h | 2 |
2 files changed, 2 insertions, 2 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). diff --git a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.h b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.h index 7fe7ae586f3..943b14942a0 100644 --- a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.h +++ b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.h @@ -17,7 +17,7 @@ #include "llvm/ExecutionEngine/RTDyldMemoryManager.h" #include "llvm/ExecutionEngine/RuntimeDyld.h" #include "llvm/IR/Module.h" -#include "llvm/Support/ObjectMemoryBuffer.h" +#include "llvm/Support/SmallVectorMemoryBuffer.h" namespace llvm { class MCJIT; |