From 6468cad977d4c81d30ba000633eaa43bc18591f9 Mon Sep 17 00:00:00 2001 From: Michael Woerister Date: Tue, 1 Aug 2017 15:57:38 +0200 Subject: [PATCH] async-llvm(29): Adapt run-make/llvm-phase test case to LLVM module not being available in memory. --- src/test/run-make/llvm-phase/test.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/test/run-make/llvm-phase/test.rs b/src/test/run-make/llvm-phase/test.rs index a75dc7e57a9a2..7a63871f19e38 100644 --- a/src/test/run-make/llvm-phase/test.rs +++ b/src/test/run-make/llvm-phase/test.rs @@ -54,11 +54,7 @@ impl<'a> CompilerCalls<'a> for JitCalls { state.session.abort_if_errors(); let trans = state.trans.unwrap(); assert_eq!(trans.modules.len(), 1); - let rs_llmod = match trans.modules[0].source { - ModuleSource::Preexisting(_) => unimplemented!(), - ModuleSource::Translated(llvm) => llvm.llmod, - }; - unsafe { rustc_llvm::LLVMDumpModule(rs_llmod) }; + println!("name of compiled module = {}", trans.modules[0].name); }); cc }