File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const initFuncId = t.identifier("__init__");
2828/**
2929 * Removes the start instruction
3030 *
31- * @param {ArrayBuffer } state - unused state
31+ * @param {Object } state - unused state
3232 * @returns {ArrayBuffer } bin'
3333 */
3434const removeStartFunc = state => bin => {
@@ -77,7 +77,7 @@ function getImportedGlobals(ast) {
7777 *
7878 * Note that globals will become mutable.
7979 *
80- * @param {ArrayBuffer } bin - the input wasm binary
80+ * @param {Object } state - unused state
8181 * @returns {ArrayBuffer } bin'
8282 */
8383const rewriteImportedGlobals = state => bin => {
@@ -113,7 +113,7 @@ const rewriteImportedGlobals = state => bin => {
113113 *
114114 * The init function fills the globals given input arguments.
115115 *
116- * @param {ArrayBuffer } bin - the input wasm binary
116+ * @param {Object } state - transformation state
117117 * @returns {ArrayBuffer } bin'
118118 */
119119const addInitFunction = ( {
You can’t perform that action at this time.
0 commit comments