diff options
-rw-r--r-- | CodeGen/CodeGenTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CodeGen/CodeGenTypes.cpp b/CodeGen/CodeGenTypes.cpp index 626ebf96a8..ae6754ce03 100644 --- a/CodeGen/CodeGenTypes.cpp +++ b/CodeGen/CodeGenTypes.cpp @@ -254,7 +254,7 @@ void CodeGenTypes::DecodeArgumentTypes(const FunctionTypeProto &FTP, unsigned CodeGenTypes::getLLVMFieldNo(const FieldDecl *FD) { llvm::DenseMap<const FieldDecl *, unsigned>::iterator I = FieldInfo.find(FD); - if (I != FieldInfo.end() && "Unable to find field info"); + assert (I != FieldInfo.end() && "Unable to find field info"); return I->second; } |