diff --git a/src/binaryen.cpp b/src/binaryen.cpp index a8ddf02a8..a78c083e7 100644 --- a/src/binaryen.cpp +++ b/src/binaryen.cpp @@ -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()