Skip to content

Commit

Permalink
[bugfix] remove duplicate resize (#3902)
Browse files Browse the repository at this point in the history
  • Loading branch information
yongwww authored and vinx13 committed Sep 6, 2019
1 parent d464d2b commit a103c4e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/relay/backend/vm/compiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a103c4e

Please sign in to comment.