Commit e0a6093a authored by Lang Hames's avatar Lang Hames
Browse files

[ORC] Fix a missing move in ce2207ab.

parent c38e4252
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ irManglingOptionsFromTargetOptions(const TargetOptions &Opts) {
Expected<SimpleCompiler::CompileResult> SimpleCompiler::operator()(Module &M) {
  CompileResult CachedObject = tryToLoadFromObjectCache(M);
  if (CachedObject)
    return CachedObject;
    return std::move(CachedObject);

  SmallVector<char, 0> ObjBufferSV;