mirror of
https://github.com/grin-compiler/grin.git
synced 2024-09-11 07:25:28 +03:00
Update TypeEnv before code generation.
This commit is contained in:
parent
b44ca1d8d3
commit
ed7bacf715
@ -709,6 +709,7 @@ callCommand cmd = do
|
||||
saveLLVM :: Path -> PipelineM ()
|
||||
saveLLVM path = do
|
||||
e <- use psExp
|
||||
pipelineStep HPTPass
|
||||
Just typeEnv <- use psTypeEnv
|
||||
fname <- relPath path
|
||||
let code = CGLLVM.codeGen typeEnv e
|
||||
|
Loading…
Reference in New Issue
Block a user