We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa240f2 commit cc60491Copy full SHA for cc60491
lld/wasm/Driver.cpp
@@ -556,8 +556,6 @@ static void readConfigs(opt::InputArgList &args) {
556
ctx.arg.memoryExport = args.getLastArgValue(OPT_export_memory_with_name);
557
} else if (args.hasArg(OPT_export_memory)) {
558
ctx.arg.memoryExport = memoryName;
559
- } else {
560
- ctx.arg.memoryExport = std::optional<llvm::StringRef>();
561
}
562
563
ctx.arg.sharedMemory = args.hasArg(OPT_shared_memory);
0 commit comments