From c0b126b7af2d3d9513b5cf8d541f5283984e902e Mon Sep 17 00:00:00 2001 From: Max Graey Date: Wed, 18 Aug 2021 01:56:53 +0300 Subject: Add TrapsNeverHappen to SideEffects's API (#4086) --- src/js/binaryen.js-post.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/js') diff --git a/src/js/binaryen.js-post.js b/src/js/binaryen.js-post.js index 8e41b4e7c..6ecfefee8 100644 --- a/src/js/binaryen.js-post.js +++ b/src/js/binaryen.js-post.js @@ -551,6 +551,7 @@ function initializeConstants() { 'IsAtomic', 'Throws', 'DanglingPop', + 'TrapsNeverHappen', 'Any' ].forEach(name => { Module['SideEffects'][name] = Module['_BinaryenSideEffect' + name](); -- cgit v1.2.3