Skip to content

Instantly share code, notes, and snippets.

@paulfryzel
Created October 13, 2015 04:45
Show Gist options
  • Save paulfryzel/d69d71061c2a0ff8cfa4 to your computer and use it in GitHub Desktop.
Save paulfryzel/d69d71061c2a0ff8cfa4 to your computer and use it in GitHub Desktop.
$ wasm hello-world.wasm
/Users/paulfryzel/.nvm/versions/node/v4.2.0/lib/node_modules/wasm-cli/node_modules/wasm-jit/node_modules/wasm-cfg/lib/wasm-cfg/builder.js:488
index = entry.index;
^
TypeError: Cannot read property 'index' of undefined
at CFGBuilder.buildCall (/Users/paulfryzel/.nvm/versions/node/v4.2.0/lib/node_modules/wasm-cli/node_modules/wasm-jit/node_modules/wasm-cfg/lib/wasm-cfg/builder.js:488:18)
at CFGBuilder.buildExpression (/Users/paulfryzel/.nvm/versions/node/v4.2.0/lib/node_modules/wasm-cli/node_modules/wasm-jit/node_modules/wasm-cfg/lib/wasm-cfg/builder.js:257:17)
at CFGBuilder.buildStatement (/Users/paulfryzel/.nvm/versions/node/v4.2.0/lib/node_modules/wasm-cli/node_modules/wasm-jit/node_modules/wasm-cfg/lib/wasm-cfg/builder.js:213:15)
at CFGBuilder.buildBlock (/Users/paulfryzel/.nvm/versions/node/v4.2.0/lib/node_modules/wasm-cli/node_modules/wasm-jit/node_modules/wasm-cfg/lib/wasm-cfg/builder.js:180:10)
at CFGBuilder.buildFunction (/Users/paulfryzel/.nvm/versions/node/v4.2.0/lib/node_modules/wasm-cli/node_modules/wasm-jit/node_modules/wasm-cfg/lib/wasm-cfg/builder.js:99:8)
at CFGBuilder.build (/Users/paulfryzel/.nvm/versions/node/v4.2.0/lib/node_modules/wasm-cli/node_modules/wasm-jit/node_modules/wasm-cfg/lib/wasm-cfg/builder.js:72:19)
at Object.build (/Users/paulfryzel/.nvm/versions/node/v4.2.0/lib/node_modules/wasm-cli/node_modules/wasm-jit/node_modules/wasm-cfg/lib/wasm-cfg/builder.js:35:37)
at Compiler.generateCode (/Users/paulfryzel/.nvm/versions/node/v4.2.0/lib/node_modules/wasm-cli/node_modules/wasm-jit/lib/wasm/compiler.js:27:23)
at Compiler.compile (/Users/paulfryzel/.nvm/versions/node/v4.2.0/lib/node_modules/wasm-cli/node_modules/wasm-jit/lib/wasm/compiler.js:55:19)
at Object.<anonymous> (/Users/paulfryzel/.nvm/versions/node/v4.2.0/lib/node_modules/wasm-cli/bin/wasm:14:21)