Skip to content

Commit 18db7f2

Browse files
committed
clean
1 parent 34f7c54 commit 18db7f2

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

jscomp/core/lam_dispatch_primitive.ml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,6 @@ let translate loc (prim_name : string)
6262
let call m =
6363
E.runtime_call m prim_name args in
6464
begin match prim_name with
65-
(* | "caml_gc_stat"
66-
| "caml_gc_quick_stat"
67-
| "caml_gc_get" *)
68-
| "caml_gc_counters"
69-
| "caml_gc_set"
70-
| "caml_gc_minor"
71-
| "caml_gc_major_slice"
72-
| "caml_gc_major"
73-
| "caml_gc_full_major"
74-
| "caml_gc_compaction"
75-
| "caml_final_register"
76-
| "caml_final_release"
77-
-> call Js_runtime_modules.gc
78-
(* | "caml_abs_float" ->
79-
E.math "abs" args *)
80-
(* | "caml_acos_float" ->
81-
E.math "acos" args *)
8265
| "caml_add_float" ->
8366
begin match args with
8467
| [e0;e1] -> E.float_add e0 e1 (** TODO float plus*)

jscomp/ext/js_runtime_modules.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ let caml_oo_curry = "Caml_oo_curry"
4242
let caml_primitive = "Caml_primitive"
4343
let int64 = "Caml_int64"
4444
let md5 = "Caml_md5"
45-
let gc = "Caml_gc"
4645
let int32 = "Caml_int32"
4746

4847

0 commit comments

Comments
 (0)