Skip to content

Commit 5f6da96

Browse files
committed
snapshot changes
1 parent 2e65b7c commit 5f6da96

File tree

7 files changed

+53
-96
lines changed

7 files changed

+53
-96
lines changed

jscomp/main/builtin_cmi_datasets.ml

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

jscomp/main/builtin_cmj_datasets.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(* 2e3648096bc27739cf3184cd40634781 *)
1+
(* e7d9472fccec1704583121b3a6e0a867 *)
22
let module_names : string array = Obj.magic (
33
"Gc" (* 220 *),
44
"Js" (* 23 *),
@@ -86,7 +86,7 @@ let module_names : string array = Obj.magic (
8686
"Belt_SetInt" (* 657 *),
8787
"BytesLabels" (* 772 *),
8888
"Dom_storage" (* 23 *),
89-
"Js_mapperRt" (* 149 *),
89+
"Js_mapperRt" (* 61 *),
9090
"Node_buffer" (* 23 *),
9191
"Node_module" (* 23 *),
9292
"Belt_HashMap" (* 617 *),
@@ -221,7 +221,7 @@ let module_data : string array = Obj.magic (
221221
(* Belt_SetInt *)"\132\149\166\190\000\000\002}\000\000\000\197\000\000\002\130\000\000\002Y\160\b\000\000\156\000\176\"eq\144\160\160B@@@\176#add\144\160\160B@@@\176#cmp\144\160\160B@@@\176#get\144\160\160B@@@\176#has\144\160\160B@@@\176$diff\144\160\160B@@@\176$keep\144\160\160B@@@\176$size\144\160\160A@@@\176$some\144\160\160B@@@\176%empty\144@\144\146A\176%every\144\160\160B@@@\176%keepU\144\160\160B@@@\176%someU\144\160\160B@@@\176%split\144\160\160B@@@\176%union\144\160\160B@@@\176&everyU\144\160\160B@@@\176&getExn\144\160\160B@@@\176&reduce\144\160\160C@@@\176&remove\144\160\160B@@@\176&subset\144\160\160B@@@\176&toList\144\160\160A@@@\176'forEach\144\160\160B@@@\176'isEmpty\144\160\160A@@@\176'maximum\144\160\160A@@@\176'minimum\144\160\160A@@@\176'reduceU\144\160\160C@@@\176'toArray\144\160\160A@@@\176(forEachU\144\160\160B@@@\176)fromArray\144\160\160A@@@\176)intersect\144\160\160B@@@\176)mergeMany\144\160\160B@@@\176)partition\144\160\160B@@@\176*partitionU\144\160\160B@@@\176*removeMany\144\160\160B@@@\176,getUndefined\144\160\160B@@@\176,maxUndefined\144\160\160A@@@\176,minUndefined\144\160\160A@@@\1765fromSortedArrayUnsafe\144\160\160A@@@\1766checkInvariantInternal\144\160\160A@@@A",
222222
(* BytesLabels *)"\132\149\166\190\000\000\002\240\000\000\000\212\000\000\002\199\000\000\002\149\160\b\000\000\168\000\176#cat\144\160\160B@@@\176#map\144\160\160B@@@\176#sub\144\160\160C@@@\176$blit\144\160\160E@@@\176$copy\144\160\160A@@@\176$fill\144\160\160D@@@\176$init\144\160\160B@@@\176$iter\144\160\160B@@@\176$make\144\160\160B@@@\176$mapi\144\160\160B@@@\176$trim\144\160\160A@@@\176%equal\144\160\160B@@@\176%index\144\160\160B@@@\176%iteri\144\160\160B@@@\176&concat\144\160\160B@@@\176&extend\144\160\160C@@@\176&rindex\144\160\160B@@@\176'compare\144\160\160B@@@\176'escaped\144\160\160A@@@\176(contains\144\160\160B@@@\176)index_opt\144\160\160B@@@\176)lowercase\144\160\160A@@@\176)of_string\144\160\160A@@@\176)to_string\144\160\160A@@@\176)uppercase\144\160\160A@@@\176*capitalize\144\160\160A@@@\176*index_from\144\160\160C@@@\176*rindex_opt\144\160\160B@@@\176*sub_string\144\160\160C@@@\176+blit_string\144\160\160E@@@\176+rindex_from\144\160\160C@@@\176,uncapitalize\144\160\160A@@@\176-contains_from\144\160\160C@@@\176.index_from_opt\144\160\160C@@@\176.rcontains_from\144\160\160C@@@\176/lowercase_ascii\144\160\160A@@@\176/rindex_from_opt\144\160\160C@@@\176/uppercase_ascii\144\160\160A@@@\1760capitalize_ascii\144\160\160A@@@\1760unsafe_of_string\144\160\160A@@@\1760unsafe_to_string\144\160\160A@@@\1762uncapitalize_ascii\144\160\160A@@@A",
223223
(* Dom_storage *)"\132\149\166\190\000\000\000\003\000\000\000\001\000\000\000\003\000\000\000\003\160\128A",
224-
(* Js_mapperRt *)"\132\149\166\190\000\000\000\129\000\000\000#\000\000\000s\000\000\000l\160\176\176%toInt\144\160\160B@@\144\180B\160\176\001\003\235!i@\160\176\001\003\236\"xs@@\151\176g\160\144\004\006\160\144\004\011@\176\1925others/js_mapperRt.ml]\001\005A\001\005C\192\004\002]\001\005A\001\005\\@\176'fromInt\144\160\160C@@@\176-fromIntAssert\144\160\160C@@@A",
224+
(* Js_mapperRt *)"\132\149\166\190\000\000\000)\000\000\000\012\000\000\000&\000\000\000#\160\160\176'fromInt\144\160\160C@@@\176-fromIntAssert\144\160\160C@@@A",
225225
(* Node_buffer *)"\132\149\166\190\000\000\000\003\000\000\000\001\000\000\000\003\000\000\000\003\160\128A",
226226
(* Node_module *)"\132\149\166\190\000\000\000\003\000\000\000\001\000\000\000\003\000\000\000\003\160\128A",
227227
(* Belt_HashMap *)"\132\149\166\190\000\000\002U\000\000\000\170\000\000\002/\000\000\002\r\160\b\000\000X\000\176#get\144\160\160B@@@\176#has\144\160\160B@@@\176#set\144\160\160C@@@\176$copy\144\160\160A@@@\176$make\144\160\160B@@\144\180B\160\176\001\005c(hintSize@\160\176\001\005d\"id@@\147\192\151\176\161A\146$make\160\145\176@8Belt_internalBucketsTypeA@\176\192&_none_A@\000\255\004\002A\160\151\176\161@\146$hash\160\144\004\024@\004\011\160\151\176\161A\146\"eq\160\004\b@\004\018\160\144\004$@\176\1926others/belt_HashMap.ml\001\000\201\001\025\018\001\025\020\192\004\002\001\000\201\001\025\018\001\025;@A\176$size\144\160\160A@@\144\180A\160\176\001\004I!h@@\151\176\161@\161$sizeA\160\144\004\t@\176\192\004\021]\001\004\255\001\005\012\192\004\022]\001\004\255\001\005\020@\176%clear\144\160\160A@@@\176&reduce\144\160\160C@@@\176&remove\144\160\160B@@@\176'forEach\144\160\160B@@@\176'isEmpty\144\160\160A@@@\176'reduceU\144\160\160C@@@\176'toArray\144\160\160A@@@\176(forEachU\144\160\160B@@@\176(logStats\144\160\160A@@@\176)fromArray\144\160\160B@@@\176)mergeMany\144\160\160B@@@\176+keysToArray\144\160\160A@@@\176-valuesToArray\144\160\160A@@@\176.keepMapInPlace\144\160\160B@@@\176/keepMapInPlaceU\144\160\160B@@@\1762getBucketHistogram\144\160\160A@@@A",

lib/4.06.1/unstable/js_compiler.ml

Lines changed: 15 additions & 26 deletions
Large diffs are not rendered by default.

lib/4.06.1/unstable/js_refmt_compiler.ml

Lines changed: 15 additions & 26 deletions
Large diffs are not rendered by default.

lib/4.06.1/whole_compiler.ml

Lines changed: 15 additions & 26 deletions
Large diffs are not rendered by default.

lib/es6/js_mapperRt.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11

22

33

4-
function toInt(i, xs) {
5-
return xs[i];
6-
}
7-
84
function fromInt(len, xs, $$enum) {
95
var _i = 0;
106
while(true) {
@@ -26,7 +22,7 @@ function fromIntAssert(len, xs, $$enum) {
2622
while(true) {
2723
var i = _i;
2824
if (i >= len) {
29-
throw new Error("File \"js_mapperRt.ml\", line 42, characters 4-10");
25+
throw new Error("File \"js_mapperRt.ml\", line 38, characters 4-10");
3026
}
3127
var k = xs[i];
3228
if (k === $$enum) {
@@ -38,7 +34,6 @@ function fromIntAssert(len, xs, $$enum) {
3834
}
3935

4036
export {
41-
toInt ,
4237
fromInt ,
4338
fromIntAssert ,
4439

lib/js/js_mapperRt.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
'use strict';
22

33

4-
function toInt(i, xs) {
5-
return xs[i];
6-
}
7-
84
function fromInt(len, xs, $$enum) {
95
var _i = 0;
106
while(true) {
@@ -26,7 +22,7 @@ function fromIntAssert(len, xs, $$enum) {
2622
while(true) {
2723
var i = _i;
2824
if (i >= len) {
29-
throw new Error("File \"js_mapperRt.ml\", line 42, characters 4-10");
25+
throw new Error("File \"js_mapperRt.ml\", line 38, characters 4-10");
3026
}
3127
var k = xs[i];
3228
if (k === $$enum) {
@@ -37,7 +33,6 @@ function fromIntAssert(len, xs, $$enum) {
3733
};
3834
}
3935

40-
exports.toInt = toInt;
4136
exports.fromInt = fromInt;
4237
exports.fromIntAssert = fromIntAssert;
4338
/* No side effect */

0 commit comments

Comments
 (0)