Remove nearly-unused ASTNode description code.
The entire ASTNode is probably going away soon, but this is a decent
place to start. Checking the fuzzer logs, we had 0% coverage in here,
which makes sense because it's unreachable by any normal means.
Change-Id: I396464e3e613d46e990b629c4fc991c11f6110fa
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/442000
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
diff --git a/src/sksl/SkSLIRGenerator.cpp b/src/sksl/SkSLIRGenerator.cpp
index e7a5dd9..6f05897 100644
--- a/src/sksl/SkSLIRGenerator.cpp
+++ b/src/sksl/SkSLIRGenerator.cpp
@@ -1159,7 +1159,7 @@
case ASTNode::Kind::kTernary:
return this->convertTernaryExpression(expr);
default:
- SkDEBUGFAILF("unsupported expression: %s\n", expr.description().c_str());
+ SkDEBUGFAIL("unsupported expression");
return nullptr;
}
}
@@ -1746,7 +1746,7 @@
break;
}
default:
- SkDEBUGFAILF("unsupported declaration: %s\n", decl.description().c_str());
+ SkDEBUGFAIL("unsupported declaration");
break;
}
}