forked from rescript-lang/rescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcaml_gc.js
96 lines (81 loc) · 1.95 KB
/
caml_gc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
// GENERATED CODE BY BUCKLESCRIPT VERSION 0.7.1 , PLEASE EDIT WITH CARE
'use strict';
var dummy_stat = /* record */[
/* minor_words */0,
/* promoted_words */0,
/* major_words */0,
/* minor_collections */0,
/* major_collections */0,
/* heap_words */0,
/* heap_chunks */0,
/* live_words */0,
/* live_blocks */0,
/* free_words */0,
/* free_blocks */0,
/* largest_free */0,
/* fragments */0,
/* compactions */0,
/* top_heap_words */0,
/* stack_size */0
];
function caml_gc_stat() {
return dummy_stat;
}
function caml_gc_quick_stat() {
return dummy_stat;
}
function caml_gc_counters() {
return /* tuple */[
0,
0,
0
];
}
function caml_gc_get() {
return /* record */[
/* minor_heap_size */0,
/* major_heap_increment */0,
/* space_overhead */0,
/* verbose */0,
/* max_overhead */0,
/* stack_limit */0,
/* allocation_policy */0
];
}
function caml_gc_set() {
return /* () */0;
}
function caml_gc_minor() {
return /* () */0;
}
function caml_gc_major_slice() {
return 0;
}
function caml_gc_major() {
return /* () */0;
}
function caml_gc_full_major() {
return /* () */0;
}
function caml_gc_compaction() {
return /* () */0;
}
function caml_final_register(_, _$1) {
return /* () */0;
}
function caml_final_release() {
return /* () */0;
}
exports.caml_gc_stat = caml_gc_stat;
exports.caml_gc_quick_stat = caml_gc_quick_stat;
exports.caml_gc_counters = caml_gc_counters;
exports.caml_gc_get = caml_gc_get;
exports.caml_gc_set = caml_gc_set;
exports.caml_gc_minor = caml_gc_minor;
exports.caml_gc_major_slice = caml_gc_major_slice;
exports.caml_gc_major = caml_gc_major;
exports.caml_gc_full_major = caml_gc_full_major;
exports.caml_gc_compaction = caml_gc_compaction;
exports.caml_final_register = caml_final_register;
exports.caml_final_release = caml_final_release;
/* No side effect */