[cfe-commits] r64020 - /cfe/trunk/lib/CodeGen/CGStmt.cpp
Mike Stump
mrs at apple.com
Sat Feb 7 09:18:34 PST 2009
Author: mrs
Date: Sat Feb 7 11:18:33 2009
New Revision: 64020
URL: http://llvm.org/viewvc/llvm-project?rev=64020&view=rev
Log:
Fit into 80-col.
Modified:
cfe/trunk/lib/CodeGen/CGStmt.cpp
Modified: cfe/trunk/lib/CodeGen/CGStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGStmt.cpp?rev=64020&r1=64019&r2=64020&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGStmt.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGStmt.cpp Sat Feb 7 11:18:33 2009
@@ -358,9 +358,9 @@
llvm::BasicBlock *LoopHeader = createBasicBlock("while.cond");
EmitBlock(LoopHeader);
- // Evaluate the conditional in the while header. C99 6.8.5.1: The evaluation
- // of the controlling expression takes place before each execution of the loop
- // body.
+ // Evaluate the conditional in the while header. C99 6.8.5.1: The
+ // evaluation of the controlling expression takes place before each
+ // execution of the loop body.
llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond());
// while(1) is common, avoid extra exit blocks. Be sure
More information about the cfe-commits
mailing list