Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Dec 13, 2018
1 parent 101b969 commit e7f1d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/binaryen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ ExecutionResult BinaryenEngine::execute(
wasm::ModuleInstance instance(module, &interface);

try {
instance.callExport(Name("main"), LiteralList{});
instance.callExport(wasm::Name("main"), wasm::LiteralList{});
} catch (EndExecution const&) {
// This exception is ignored here because we consider it to be a success.
// It is only a clutch for POSIX style exit()
Expand Down

0 comments on commit e7f1d90

Please sign in to comment.