Fix an unused variable warning in non-asserts builds.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304778 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2017-06-06 07:49:34 +00:00
parent 8d7f132f47
commit 8e7e3e824c

View File

@ -68,6 +68,7 @@ void runChecks(
MachineModuleInfo MMI(TM);
bool Res = MParser->parseMachineFunctions(*M, MMI);
(void)Res;
assert(!Res && "Couldn't parse MIR functions");
auto F = M->getFunction("sizes");