summaryrefslogtreecommitdiff
path: root/src/wast-parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wast-parser.cc')
-rw-r--r--src/wast-parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wast-parser.cc b/src/wast-parser.cc
index 2e1d1f1d..1bb5229b 100644
--- a/src/wast-parser.cc
+++ b/src/wast-parser.cc
@@ -2208,7 +2208,7 @@ Result WastParser::ParseModuleCommand(Script* script, CommandPtr* out_command) {
ReadBinaryOptions options;
BinaryErrorHandlerModule error_handler(&bsm->loc, this);
const char* filename = "<text>";
- ReadBinaryIr(filename, bsm->data.data(), bsm->data.size(), &options,
+ ReadBinaryIr(filename, bsm->data.data(), bsm->data.size(), options,
&error_handler, &module);
module.name = bsm->name;
module.loc = bsm->loc;