diff options
author | Max Graey <maxgraey@gmail.com> | 2021-08-18 01:56:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 15:56:53 -0700 |
commit | c0b126b7af2d3d9513b5cf8d541f5283984e902e (patch) | |
tree | f1fe0a3bd5a545b2e07050f560bd24585cb811f6 /test/binaryen.js | |
parent | b82be0fe1abd3c56cc85150c76efbd66db6fe32e (diff) | |
download | binaryen-c0b126b7af2d3d9513b5cf8d541f5283984e902e.tar.gz binaryen-c0b126b7af2d3d9513b5cf8d541f5283984e902e.tar.bz2 binaryen-c0b126b7af2d3d9513b5cf8d541f5283984e902e.zip |
Add TrapsNeverHappen to SideEffects's API (#4086)
Diffstat (limited to 'test/binaryen.js')
-rw-r--r-- | test/binaryen.js/sideffects.js | 1 | ||||
-rw-r--r-- | test/binaryen.js/sideffects.js.txt | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/binaryen.js/sideffects.js b/test/binaryen.js/sideffects.js index cb0e8ac7f..f6a88b5f1 100644 --- a/test/binaryen.js/sideffects.js +++ b/test/binaryen.js/sideffects.js @@ -11,6 +11,7 @@ console.log("SideEffects.ImplicitTrap=" + binaryen.SideEffects.ImplicitTrap); console.log("SideEffects.IsAtomic=" + binaryen.SideEffects.IsAtomic); console.log("SideEffects.Throws=" + binaryen.SideEffects.Throws); console.log("SideEffects.DanglingPop=" + binaryen.SideEffects.DanglingPop); +console.log("SideEffects.TrapsNeverHappen=" + binaryen.SideEffects.TrapsNeverHappen); console.log("SideEffects.Any=" + binaryen.SideEffects.Any); var module = new binaryen.Module(); diff --git a/test/binaryen.js/sideffects.js.txt b/test/binaryen.js/sideffects.js.txt index 53ee474e5..8e511d089 100644 --- a/test/binaryen.js/sideffects.js.txt +++ b/test/binaryen.js/sideffects.js.txt @@ -11,4 +11,5 @@ SideEffects.ImplicitTrap=256 SideEffects.IsAtomic=512 SideEffects.Throws=1024 SideEffects.DanglingPop=2048 -SideEffects.Any=4095 +SideEffects.TrapsNeverHappen=4096 +SideEffects.Any=8191 |