From bc879a89174cd7f070e9d279ee89bbbc2e408055 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Wed, 25 Jan 2017 23:14:52 +0100 Subject: Compile simple expressions --- main.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.hs') diff --git a/main.hs b/main.hs index b4a66d0..ec5b050 100644 --- a/main.hs +++ b/main.hs @@ -7,7 +7,7 @@ import System.Environment import System.Exit import qualified LLVM.General as General import qualified LLVM.General.Context as General -import qualified LLVM.General.Target as General +-- import qualified LLVM.General.Target as General import Check import Codegen @@ -50,8 +50,8 @@ main = do putStrLn $ pshow checked llvmMod <- either die return $ codegen checked "Module" fname - putStrLn "Module:" - print llvmMod + -- putStrLn "Module:" + -- print llvmMod General.withContext $ \context -> do assert $ General.withModuleFromAST context llvmMod $ \genmod -> do -- cgit v1.2.3-70-g09d2