Skip to content

Commit

Permalink
Update Binaryen
Browse files Browse the repository at this point in the history
This version of binaryen.js has the requisite 4 GiB max memory change.
Fixes #2810.
  • Loading branch information
CountBleck committed Jan 14, 2024
1 parent 1e0466e commit ff03a37
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 52 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"engineStrict": true,
"dependencies": {
"binaryen": "116.0.0-nightly.20231102",
"binaryen": "116.0.0-nightly.20240114",
"long": "^5.2.1"
},
"devDependencies": {
Expand Down
88 changes: 44 additions & 44 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ export namespace HeapTypeRef {
export const I31: HeapTypeRef = 4 /* _BinaryenHeapTypeI31 */;
export const Struct: HeapTypeRef = 5 /* _BinaryenHeapTypeStruct */;
export const Array: HeapTypeRef = 6 /* _BinaryenHeapTypeArray */;
export const String: HeapTypeRef = 7 /* _BinaryenHeapTypeString */;
export const StringviewWTF8: HeapTypeRef = 8 /* _BinaryenHeapTypeStringviewWTF8 */;
export const StringviewWTF16: HeapTypeRef = 9 /* _BinaryenHeapTypeStringviewWTF16 */;
export const StringviewIter: HeapTypeRef = 10 /* _BinaryenHeapTypeStringviewIter */;
export const None: HeapTypeRef = 11 /* _BinaryenHeapTypeNone */;
export const Noextern: HeapTypeRef = 12 /* _BinaryenHeapTypeNoext */;
export const Nofunc: HeapTypeRef = 13 /* _BinaryenHeapTypeNofunc */;
export const String: HeapTypeRef = 8 /* _BinaryenHeapTypeString */;
export const StringviewWTF8: HeapTypeRef = 9 /* _BinaryenHeapTypeStringviewWTF8 */;
export const StringviewWTF16: HeapTypeRef = 10 /* _BinaryenHeapTypeStringviewWTF16 */;
export const StringviewIter: HeapTypeRef = 11 /* _BinaryenHeapTypeStringviewIter */;
export const None: HeapTypeRef = 12 /* _BinaryenHeapTypeNone */;
export const Noextern: HeapTypeRef = 13 /* _BinaryenHeapTypeNoext */;
export const Nofunc: HeapTypeRef = 14 /* _BinaryenHeapTypeNofunc */;

export function isBottom(ht: HeapTypeRef): bool {
return binaryen._BinaryenHeapTypeIsBottom(ht);
Expand Down Expand Up @@ -275,44 +275,44 @@ export const enum ExpressionId {
TableSet = 46 /* _BinaryenTableSetId */,
TableSize = 47 /* _BinaryenTableSizeId */,
TableGrow = 48 /* _BinaryenTableGrowId */,
Try = 50 /* _BinaryenTryId */,
Throw = 51 /* _BinaryenThrowId */,
Rethrow = 52 /* _BinaryenRethrowId */,
TupleMake = 53 /* _BinaryenTupleMakeId */,
TupleExtract = 54 /* _BinaryenTupleExtractId */,
RefI31 = 55 /* _BinaryenRefI31Id */,
I31Get = 56 /* _BinaryenI31GetId */,
CallRef = 57 /* _BinaryenCallRefId */,
RefTest = 58 /* _BinaryenRefTestId */,
RefCast = 59 /* _BinaryenRefCastId */,
BrOn = 60 /* _BinaryenBrOnId */,
StructNew = 61 /* _BinaryenStructNewId */,
StructGet = 62 /* _BinaryenStructGetId */,
StructSet = 63 /* _BinaryenStructSetId */,
ArrayNew = 64 /* _BinaryenArrayNewId */,
Try = 51 /* _BinaryenTryId */,
Throw = 53 /* _BinaryenThrowId */,
Rethrow = 54 /* _BinaryenRethrowId */,
TupleMake = 56 /* _BinaryenTupleMakeId */,
TupleExtract = 57 /* _BinaryenTupleExtractId */,
RefI31 = 58 /* _BinaryenRefI31Id */,
I31Get = 59 /* _BinaryenI31GetId */,
CallRef = 60 /* _BinaryenCallRefId */,
RefTest = 61 /* _BinaryenRefTestId */,
RefCast = 62 /* _BinaryenRefCastId */,
BrOn = 63 /* _BinaryenBrOnId */,
StructNew = 64 /* _BinaryenStructNewId */,
StructGet = 65 /* _BinaryenStructGetId */,
StructSet = 66 /* _BinaryenStructSetId */,
ArrayNew = 67 /* _BinaryenArrayNewId */,
ArrayNewSeg = 64 /* TODO_BinaryenArraySegId */,
ArrayNewFixed = 67 /* _BinaryenArrayNewFixedId */,
ArrayGet = 68 /* _BinaryenArrayGetId */,
ArraySet = 69 /* _BinaryenArraySetId */,
ArrayLen = 70 /* _BinaryenArrayLenId */,
ArrayCopy = 71 /* _BinaryenArrayCopyId */,
ArrayFill = 72 /* _BinaryenArrayFillId */,
ArrayInitData = 73 /* _BinaryenArrayInitDataId */,
ArrayInitElem = 74 /* _BinaryenArrayInitElemId */,
RefAs = 75 /* _BinaryenRefAsId */,
StringNew = 76 /* _BinaryenStringNewId */,
StringConst = 77 /* _BinaryenStringConstId */,
StringMeasure = 78 /* _BinaryenStringMeasureId */,
StringEncode = 79 /* _BinaryenStringEncodeId */,
StringConcat = 80 /* _BinaryenStringConcatId */,
StringEq = 81 /* _BinaryenStringEqId */,
StringAs = 82 /* _BinaryenStringAsId */,
StringWTF8Advance = 83 /* _BinaryenStringWTF8AdvanceId */,
StringWTF16Get = 84 /* _BinaryenStringWTF16GetId */,
StringIterNext = 85 /* _BinaryenStringIterNextId */,
StringIterMove = 86 /* _BinaryenStringIterMoveId */,
StringSliceWTF = 87 /* _BinaryenStringSliceWTFId */,
StringSliceIter = 88 /* _BinaryenStringSliceIterId */
ArrayNewFixed = 70 /* _BinaryenArrayNewFixedId */,
ArrayGet = 71 /* _BinaryenArrayGetId */,
ArraySet = 72 /* _BinaryenArraySetId */,
ArrayLen = 73 /* _BinaryenArrayLenId */,
ArrayCopy = 74 /* _BinaryenArrayCopyId */,
ArrayFill = 75 /* _BinaryenArrayFillId */,
ArrayInitData = 76 /* _BinaryenArrayInitDataId */,
ArrayInitElem = 77 /* _BinaryenArrayInitElemId */,
RefAs = 78 /* _BinaryenRefAsId */,
StringNew = 79 /* _BinaryenStringNewId */,
StringConst = 80 /* _BinaryenStringConstId */,
StringMeasure = 81 /* _BinaryenStringMeasureId */,
StringEncode = 82 /* _BinaryenStringEncodeId */,
StringConcat = 83 /* _BinaryenStringConcatId */,
StringEq = 84 /* _BinaryenStringEqId */,
StringAs = 85 /* _BinaryenStringAsId */,
StringWTF8Advance = 86 /* _BinaryenStringWTF8AdvanceId */,
StringWTF16Get = 87 /* _BinaryenStringWTF16GetId */,
StringIterNext = 88 /* _BinaryenStringIterNextId */,
StringIterMove = 89 /* _BinaryenStringIterMoveId */,
StringSliceWTF = 90 /* _BinaryenStringSliceWTFId */,
StringSliceIter = 91 /* _BinaryenStringSliceIterId */
}

/** Binaryen external kind constants. */
Expand Down

0 comments on commit ff03a37

Please sign in to comment.