File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
unison-runtime/src/Unison/Runtime Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -944,7 +944,7 @@ emitSection rns grpr grpn rec ctx (TApp f args) =
944
944
emitClosures grpr grpn rec ctx args $ \ ctx as ->
945
945
countCtx ctx $ emitFunction rns grpr grpn rec ctx f as
946
946
emitSection _ _ _ _ ctx (TLit l) =
947
- c . countCtx ctx . Ins (emitLit l) . Yield $ litArg l
947
+ c . countCtx ctx . Ins (emitLit l) . Yield $ VArg1 0
948
948
where
949
949
c
950
950
| ANF. T {} <- l = addCount 1
@@ -1110,13 +1110,6 @@ emitFunctionVErr v =
1110
1110
internalBug $
1111
1111
" emitFunction: could not resolve function variable: " ++ show v
1112
1112
1113
- -- | TODO: Can remove this
1114
- litArg :: ANF. Lit -> Args
1115
- litArg ANF. T {} = VArg1 0
1116
- litArg ANF. LM {} = VArg1 0
1117
- litArg ANF. LY {} = VArg1 0
1118
- litArg _ = VArg1 0
1119
-
1120
1113
-- Emit machine code for a let expression. Some expressions do not
1121
1114
-- require a machine code Let, which uses more complicated stack
1122
1115
-- manipulation.
You can’t perform that action at this time.
0 commit comments