Commit a103c4ee by Yong Wu Committed by Wuwei Lin

[bugfix] remove duplicate resize (#3902)

parent d464d2ba
......@@ -815,10 +815,6 @@ void VMCompiler::Compile(const Module& mod_ref,
// the global state.
vm_->functions.resize(context_.module->functions.size());
// Next we get ready by allocating space for
// the global state.
vm_->functions.resize(context_.module->functions.size());
for (auto named_func : context_.module->functions) {
auto gvar = named_func.first;
auto func = named_func.second;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment