mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
Move some code under NDEBUG from D103135
This commit is contained in:
parent
db00e9aaf8
commit
675b987cd3
@ -3848,8 +3848,10 @@ Error BitcodeReader::parseFunctionBody(Function *F) {
|
||||
unsigned ModuleMDLoaderSize = MDLoader->size();
|
||||
|
||||
// Add all the function arguments to the value table.
|
||||
#ifndef NDEBUG
|
||||
unsigned ArgNo = 0;
|
||||
FunctionType *FTy = FunctionTypes[F];
|
||||
#endif
|
||||
for (Argument &I : F->args()) {
|
||||
assert(I.getType() == FTy->getParamType(ArgNo++) &&
|
||||
"Incorrect fully specified type for Function Argument");
|
||||
|
Loading…
Reference in New Issue
Block a user