forked from OSchip/llvm-project
Add cast to appease windows builder. Fixes build break introduced in r280306.
llvm-svn: 280311
This commit is contained in:
parent
79202c378f
commit
8dd4dad08b
|
@ -428,7 +428,7 @@ std::string GCOVProfiler::mangleName(const DICompileUnit *CU,
|
|||
bool ThreeElement = N->getNumOperands() == 3;
|
||||
if (!ThreeElement && N->getNumOperands() != 2)
|
||||
continue;
|
||||
if (N->getOperand(ThreeElement ? 2 : 1) != CU)
|
||||
if (dyn_cast<MDNode>(N->getOperand(ThreeElement ? 2 : 1)) != CU)
|
||||
continue;
|
||||
|
||||
if (ThreeElement) {
|
||||
|
|
Loading…
Reference in New Issue