WHILE does not "pop" a value, it "examines" to top of stack. Make this
authorReid Spencer <rspencer@reidspencer.com>
Wed, 4 May 2005 15:33:48 +0000 (15:33 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 4 May 2005 15:33:48 +0000 (15:33 +0000)
clear in the applicable comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21682 91177308-0d34-0410-b5e6-96231b3b80d8

projects/Stacker/lib/compiler/StackerCompiler.cpp

index c9a3e626276424ce402019beed9fc2e1ff32dc69..d960fc48971e3f5f36f1884a3236a1ca8ef32697 100644 (file)
@@ -799,7 +799,7 @@ StackerCompiler::handle_while( char* todo )
     BranchInst* root_br_inst = new BranchInst( test );
     bb->getInstList().push_back( root_br_inst );
 
-    // Pop the condition value
+    // Examine the condition value
     LoadInst* cond = cast<LoadInst>( stack_top(test) );
 
     // Compare the condition against 0