From 3fdfc04e5339c1d0ad838c1e5531b3a2e4377ec3 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Mon, 2 Apr 2018 20:57:56 +0000 Subject: [ORC] Create a new SymbolStringPool by default in ExecutionSession constructor. This makes the common case of constructing an ExecutionSession tidier. llvm-svn: 329013 --- llvm/lib/ExecutionEngine/Orc/Core.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'llvm/lib/ExecutionEngine/Orc/Core.cpp') diff --git a/llvm/lib/ExecutionEngine/Orc/Core.cpp b/llvm/lib/ExecutionEngine/Orc/Core.cpp index 46b234faed3..4c1126b23bf 100644 --- a/llvm/lib/ExecutionEngine/Orc/Core.cpp +++ b/llvm/lib/ExecutionEngine/Orc/Core.cpp @@ -526,14 +526,6 @@ lookup(const std::vector VSOs, SymbolStringPtr Name, return ResultMap.takeError(); } -ExecutionSession::ExecutionSession(SymbolStringPool &SSP) : SSP(SSP) {} - -VModuleKey ExecutionSession::allocateVModule() { return ++LastKey; } - -void ExecutionSession::releaseVModule(VModuleKey VMod) { - // FIXME: Recycle keys. -} - void ExecutionSession::logErrorsToStdErr(Error Err) { logAllUnhandledErrors(std::move(Err), errs(), "JIT session error: "); } -- cgit v1.2.3