projects
/
platform
/
upstream
/
tvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4474bfb
)
[relay][vm] remove throw in destructor (#3215)
author
Zhi
<5145158+zhiics@users.noreply.github.com>
Tue, 21 May 2019 19:53:03 +0000
(12:53 -0700)
committer
Jared Roesch
<roeschinc@gmail.com>
Tue, 21 May 2019 19:53:03 +0000
(12:53 -0700)
src/runtime/vm/vm.cc
patch
|
blob
|
history
diff --git
a/src/runtime/vm/vm.cc
b/src/runtime/vm/vm.cc
index
b2d326e
..
6f9190e
100644
(file)
--- a/
src/runtime/vm/vm.cc
+++ b/
src/runtime/vm/vm.cc
@@
-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"
;
}
}