summaryrefslogtreecommitdiff
path: root/src/wasm-interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r--src/wasm-interpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h
index 70564e4a4..528f812d0 100644
--- a/src/wasm-interpreter.h
+++ b/src/wasm-interpreter.h
@@ -166,7 +166,7 @@ private:
}
locals[function->params[i].name] = arguments[i];
}
- for (auto& local : function->locals) {
+ for (auto& local : function->vars) {
locals[local.name].type = local.type;
}
}