Skip to content

Instantly share code, notes, and snippets.

@ashutoshrishi
Created September 15, 2015 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashutoshrishi/fd5e45b4b395e5fc18b3 to your computer and use it in GitHub Desktop.
Save ashutoshrishi/fd5e45b4b395e5fc18b3 to your computer and use it in GitHub Desktop.
translateProc :: ProcDef -> Compiler ProcDef
translateProc proc =
evalLLVMComp $ do
let (ProcDefPrim proto _) = procImpln proc
logBlocks $ "Proto: " ++ show proto
return proc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment