mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Orc/IRCompileLayer.h: Avoid non-static initializer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4df70bbd17
commit
c4fbd5d26b
@ -108,7 +108,8 @@ private:
|
||||
if (!Obj)
|
||||
return object::OwningBinary<object::ObjectFile>();
|
||||
|
||||
return {std::move(*Obj), std::move(ObjBuffer)};
|
||||
return object::OwningBinary<object::ObjectFile>(std::move(*Obj),
|
||||
std::move(ObjBuffer));
|
||||
}
|
||||
|
||||
BaseLayerT &BaseLayer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user