projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
07ac89f
)
Emit an error instead of an assertion if trying to do bogus things in result patterns.
author
Chris Lattner
<sabre@nondot.org>
Wed, 11 Jan 2006 01:33:49 +0000
(
01:33
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 11 Jan 2006 01:33:49 +0000
(
01:33
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25194
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/DAGISelEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/DAGISelEmitter.cpp
b/utils/TableGen/DAGISelEmitter.cpp
index 9668ab4ede33af7b20af16c5e4d14547693a7b97..75780c4d3ed0c23ff050a99290e595abfd6129d2 100644
(file)
--- a/
utils/TableGen/DAGISelEmitter.cpp
+++ b/
utils/TableGen/DAGISelEmitter.cpp
@@
-2281,8
+2281,8
@@
public:
return std::make_pair(1, ResNo);
} else {
N->dump();
-
assert(0 && "Unknown node in result pattern!")
;
-
return std::make_pair(1, ~0U
);
+
std::cerr << "\n"
;
+
throw std::string("Unknown node in result pattern!"
);
}
}