Distinguish between 'empty' and empty DAG marker.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81448 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov
2009-09-10 16:22:02 +00:00
parent 684a8b0f10
commit 2d04ec5fe6
2 changed files with 7 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ void checkNumberOfArguments (const DagInit* d, unsigned min_arguments) {
// isDagEmpty - is this DAG marked with an empty marker?
bool isDagEmpty (const DagInit* d) {
return d->getOperator()->getAsString() == "empty";
return d->getOperator()->getAsString() == "empty_dag_marker";
}
// EscapeVariableName - Escape commas and other symbols not allowed