Skip to content

Update binaryen #2385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 45 commits into from
Aug 15, 2022
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
4979a91
wip
MaxGraey Jul 26, 2022
4212bcd
fix
MaxGraey Jul 26, 2022
90d2d8f
refactor update-constants
MaxGraey Jul 26, 2022
d8a55bf
add gufa pass
MaxGraey Jul 26, 2022
66d8b65
better
MaxGraey Jul 26, 2022
318de98
simplify update-constants
MaxGraey Jul 26, 2022
cba4ddc
refactor TypeRef
MaxGraey Jul 26, 2022
3681c5c
better
MaxGraey Jul 26, 2022
9f76a5a
better comment
MaxGraey Jul 26, 2022
6203797
typo
MaxGraey Jul 26, 2022
4c736c5
run stack-ir passes for watFormat
MaxGraey Jul 26, 2022
232a197
update
MaxGraey Jul 27, 2022
ad0ef3e
simplify toText back
MaxGraey Jul 27, 2022
f15af25
add uncheckeds for glue helpers in module
MaxGraey Jul 27, 2022
62bf533
add Strings to FeatureFlags. More uncheckeds
MaxGraey Jul 27, 2022
32bef8f
update binaryen. Add stringref types
MaxGraey Jul 28, 2022
74e9bad
Merge branch 'main' into update-binaryen
MaxGraey Jul 28, 2022
34702fa
upd
MaxGraey Jul 28, 2022
577ed11
update binaryen
MaxGraey Jul 30, 2022
0fa96c8
better
MaxGraey Jul 30, 2022
5ea7fb9
less work
MaxGraey Jul 30, 2022
17499ac
refactor toBinary
MaxGraey Jul 30, 2022
47449d1
fix
MaxGraey Jul 30, 2022
66b745a
better names
MaxGraey Jul 30, 2022
ffe50ac
add merge-similar-functions pass for shrinkLevel >= 2
MaxGraey Jul 31, 2022
6ddc7b6
clean unused arg in isConstExpression
MaxGraey Jul 31, 2022
6480d04
update binaryen again
MaxGraey Aug 2, 2022
9f96f79
update
MaxGraey Aug 3, 2022
e06f862
update binaryen
MaxGraey Aug 4, 2022
e089ccc
update binaryen
MaxGraey Aug 5, 2022
8acb282
add heap types for binaryen's glue
MaxGraey Aug 5, 2022
c6993cf
add HeapTypeRef to module. Remove Rtt
MaxGraey Aug 5, 2022
4987a48
add isNullableType and utilise it for ref_is_null and ref_as_nonnull
MaxGraey Aug 5, 2022
5aae96d
Merge branch 'main' into update-binaryen
MaxGraey Aug 6, 2022
8571600
upd date fixture after conflicts
MaxGraey Aug 6, 2022
b5f3fcd
Merge branch 'main' into update-binaryen
MaxGraey Aug 6, 2022
18c834e
Merge branch 'main' into update-binaryen
MaxGraey Aug 7, 2022
9f4da51
Merge branch 'main' into update-binaryen
MaxGraey Aug 7, 2022
0a8fb00
update fixtures
MaxGraey Aug 7, 2022
d9ddc56
update
MaxGraey Aug 8, 2022
7c6cb94
update binaryen
MaxGraey Aug 9, 2022
0d98517
update
MaxGraey Aug 10, 2022
886a567
Merge branch 'main' into update-binaryen
MaxGraey Aug 13, 2022
1d21f30
update
MaxGraey Aug 13, 2022
640f0a8
Merge branch 'main' into update-binaryen
MaxGraey Aug 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 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": "108.0.0-nightly.20220528",
"binaryen": "109.0.0-nightly.20220726",
"long": "^5.2.0"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions src/glue/binaryen.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ export declare function _BinaryenTypeCreate(types: ArrayRef<TypeRef>, numTypes:
export declare function _BinaryenTypeArity(type: TypeRef): u32;
export declare function _BinaryenTypeExpand(type: TypeRef, typesOut: ArrayRef<TypeRef>): void;

export declare function _BinaryenTypeFuncref(): TypeRef;
export declare function _BinaryenTypeExternref(): TypeRef;
export declare function _BinaryenTypeAnyref(): TypeRef;
export declare function _BinaryenTypeEqref(): TypeRef;
export declare function _BinaryenTypeI31ref(): TypeRef;
export declare function _BinaryenTypeDataref(): TypeRef;

export declare function _BinaryenModuleCreate(): ModuleRef;
export declare function _BinaryenModuleDispose(module: ModuleRef): void;

Expand Down
Loading