Skip to content

Commit 1c6ecd3

Browse files
committed
remove useless comment
1 parent dc2e47d commit 1c6ecd3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jscomp/core/lam_pass_remove_alias.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ let simplify_alias (meta : Lam_stats.t) (lam : Lam.t) : Lam.t =
6767
| Lprim { primitive = Pfull_apply; args = Lvar v :: ap_args as args; loc }
6868
-> (
6969
(* Inline uncurried application when safe *)
70-
let[@local] normal () =
70+
let normal () =
7171
Lam.prim ~primitive:Pfull_apply ~args:(Ext_list.map args simpl) loc
7272
in
7373
let ap_args = Ext_list.map ap_args simpl in
@@ -198,7 +198,6 @@ let simplify_alias (meta : Lam_stats.t) (lam : Lam.t) : Lam.t =
198198

199199
(* Ext_log.dwarn __LOC__ "%s/%d" v.name v.stamp; *)
200200
let ap_args = Ext_list.map ap_args simpl in
201-
(* todo bring back local inlining *)
202201
let normal () = Lam.apply (simpl fn) ap_args ap_info in
203202
match Hash_ident.find_opt meta.ident_tbl v with
204203
| Some

0 commit comments

Comments
 (0)