@@ -165,7 +165,7 @@ dataConsInFunBody funBody = case funBody of
165165 IfE a b c -> S. unions $ [dataConsInFunBody a] ++ [dataConsInFunBody b] ++ [dataConsInFunBody c]
166166 MkProdE xs -> S. unions $ P. map dataConsInFunBody xs
167167 ProjE i e -> error " getGeneratedVariable: TODO ProjE"
168- TimeIt e ty b -> dataConsInFunBody e
168+ TimeIt e ty b -> error " getGeneratedVariable: TODO TimeIt "
169169 WithArenaE v e -> error " getGeneratedVariable: TODO WithArenaE"
170170 SpawnE f locs args -> error " getGeneratedVariable: TODO SpawnE"
171171 SyncE -> error " getGeneratedVariable: TODO SyncE"
@@ -611,7 +611,7 @@ changeCallNameInRecFunction
611611 IfE a b c -> IfE (fixExp a) (fixExp b) (fixExp c)
612612 MkProdE xs -> MkProdE (P. map fixExp xs)
613613 ProjE i e -> error " getExpTyEnv: TODO ProjE"
614- TimeIt e ty b -> TimeIt (fixExp e) ty b
614+ TimeIt e ty b -> error " getExpTyEnv: TODO TimeIt "
615615 WithArenaE v e -> error " getExpTyEnv: TODO WithArenaE"
616616 SpawnE f locs args -> error " getExpTyEnv: TODO SpawnE"
617617 SyncE -> error " getExpTyEnv: TODO SyncE"
@@ -1492,8 +1492,7 @@ reOrderLetExpHelper (Just var) letExpOrder expr = fst $ run letExpOrder expr
14921492 MkProdE xs -> let (xs', releasedBinds) = lambdaHandleExpList xs letExpOrder'
14931493 in (MkProdE xs', releasedBinds)
14941494 ProjE {} -> error " reOrderLetExpHelper: TODO ProjE"
1495- TimeIt e ty b -> let (e', releasedBinds) = run letExpOrder' e
1496- in (TimeIt e' ty b, releasedBinds)
1495+ TimeIt {} -> error " reOrderLetExpHelper: TODO TimeIt"
14971496 WithArenaE {} -> error " reOrderLetExpHelper: TODO WithArenaE"
14981497 SpawnE {} -> error " reOrderLetExpHelper: TODO SpawnE"
14991498 SyncE -> error " reOrderLetExpHelper: TODO SyncE"
0 commit comments