From 5664d917dc9dcb6b2344ada52f645b16a5c0b958 Mon Sep 17 00:00:00 2001 From: yhirose Date: Thu, 10 Jan 2019 21:46:16 -0500 Subject: [PATCH] Changed to dump llvm assembly code to standard output --- pl0/pl0.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pl0/pl0.cc b/pl0/pl0.cc index 0c3b2dc..f76af8a 100644 --- a/pl0/pl0.cc +++ b/pl0/pl0.cc @@ -534,7 +534,7 @@ struct LLVM { compile(ast); } - void dump() { module_->print(llvm::errs(), nullptr); } + void dump() { module_->print(llvm::outs(), nullptr); } void exec() { unique_ptr ee(EngineBuilder(std::move(module_)).create());