Skip to content

Commit 35fb15b

Browse files
committed
Use Act instead of DeviceAct
1 parent 1b18e96 commit 35fb15b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

clang/lib/Interpreter/Interpreter.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -460,20 +460,6 @@ Interpreter::create(std::unique_ptr<CompilerInstance> CI,
460460
return std::move(Err);
461461

462462
if (DeviceCI) {
463-
// auto DeviceLLVMCtx = std::make_unique<llvm::LLVMContext>();
464-
// auto DeviceTSCtx =
465-
// std::make_unique<llvm::orc::ThreadSafeContext>(std::move(DeviceLLVMCtx));
466-
467-
// llvm::Error DeviceErr = llvm::Error::success();
468-
// llvm::ErrorAsOutParameter EAO(&DeviceErr);
469-
470-
// auto DeviceAct = std::make_unique<IncrementalAction>(
471-
// *DeviceCI, *DeviceTSCtx->getContext(), DeviceErr, *Interp);
472-
473-
// if (DeviceErr)
474-
// return std::move(DeviceErr);
475-
476-
// DeviceCI->ExecuteAction(*DeviceAct);
477463
DeviceCI->ExecuteAction(*Interp->Act);
478464

479465
llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> IMVFS =

0 commit comments

Comments
 (0)