From 7063d1aa711ee5dbc8277719ea2e8cc2b1bfa542 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 4 May 2005 15:33:48 +0000 Subject: WHILE does not "pop" a value, it "examines" to top of stack. Make this clear in the applicable comment. llvm-svn: 21682 --- llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/projects/Stacker/lib/compiler') diff --git a/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp b/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp index c9a3e626276..d960fc48971 100644 --- a/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp +++ b/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp @@ -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( stack_top(test) ); // Compare the condition against 0 -- cgit v1.2.3