Skip to content

Commit

Permalink
[relay][vm] remove throw in destructor (#3215)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiics authored and jroesch committed May 21, 2019
1 parent 4474bfb commit 91b181d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/vm/vm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ Instruction::~Instruction() {
return;
default:
std::ostringstream out;
out << "Invalid instruction " << static_cast<int>(this->op);
throw std::runtime_error(out.str());
LOG(FATAL) << "Invalid instruction " << static_cast<int>(this->op)
<< "\n";
}
}

Expand Down

0 comments on commit 91b181d

Please sign in to comment.