fix a typo noticed by Gordon Henriksen

llvm-svn: 41451
This commit is contained in:
Chris Lattner 2007-08-26 17:25:57 +00:00
parent c3b3707536
commit 2e928885b2
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ public:
}
/// EmitConversionToBool - Convert the specified expression value to a
/// boolean (i1) truth value. This is equivalent to "Val == 0".
/// boolean (i1) truth value. This is equivalent to "Val != 0".
Value *EmitConversionToBool(Value *Src, QualType DstTy);
/// EmitScalarConversion - Emit a conversion from the specified type to the
@ -250,7 +250,7 @@ public:
//===----------------------------------------------------------------------===//
/// EmitConversionToBool - Convert the specified expression value to a
/// boolean (i1) truth value. This is equivalent to "Val == 0".
/// boolean (i1) truth value. This is equivalent to "Val != 0".
Value *ScalarExprEmitter::EmitConversionToBool(Value *Src, QualType SrcType) {
assert(SrcType->isCanonical() && "EmitScalarConversion strips typedefs");