summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/lli/OrcLazyJIT.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/tools/lli/OrcLazyJIT.h')
-rw-r--r--contrib/llvm/tools/lli/OrcLazyJIT.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/llvm/tools/lli/OrcLazyJIT.h b/contrib/llvm/tools/lli/OrcLazyJIT.h
index bff2eca..c4a12b6 100644
--- a/contrib/llvm/tools/lli/OrcLazyJIT.h
+++ b/contrib/llvm/tools/lli/OrcLazyJIT.h
@@ -116,8 +116,7 @@ public:
orc::CtorDtorRunner<CODLayerT> CtorRunner(std::move(CtorNames), H);
CtorRunner.runViaLayer(CODLayer);
- IRStaticDestructorRunners.push_back(
- orc::CtorDtorRunner<CODLayerT>(std::move(DtorNames), H));
+ IRStaticDestructorRunners.emplace_back(std::move(DtorNames), H);
return H;
}
OpenPOWER on IntegriCloud