diff options
author | tomsmeding <tom.smeding@gmail.com> | 2019-04-28 16:49:32 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2019-04-28 16:49:32 +0200 |
commit | b2320404202ad3296480bd472a6a79f5e5427de8 (patch) | |
tree | 22f37cbabbf95b864db3fcf3761c4372cd7b81e4 /VM.hs | |
parent | 3c40705b60d40f4c863c72091b3b4f30ff79c916 (diff) |
Preliminary finish of lowering
That is to say, there is no register allocation yet, but I think the
currently generated code can be regalloc'd without much trouble.
Diffstat (limited to 'VM.hs')
-rw-r--r-- | VM.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -78,6 +78,7 @@ vmRunInstr info@(Info bbmap gfds datas) state@(State tmap (args, closure)) (dest IAllocClo name clrefs -> return (assignRef state dest (RVClosure name (map (findRef tmap) clrefs))) IDiscard _ -> return state IFunctionEntry -> return state + IApplicationEntry -> return state vmRunTerm :: Info -> State -> Terminator -> IO (RunValue, State) vmRunTerm info@(Info bbmap _ _) state@(State tmap _) term = case term of |