summaryrefslogtreecommitdiffstats
path: root/llvm/projects/Stacker/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-05-04 15:33:48 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-05-04 15:33:48 +0000
commit7063d1aa711ee5dbc8277719ea2e8cc2b1bfa542 (patch)
tree96c6b5bbbe43bcc2975b859de238163e44055ee5 /llvm/projects/Stacker/lib
parent6b551024ac7120d5a49ba27f1e026e1d4dc2c3fa (diff)
downloadbcm5719-llvm-7063d1aa711ee5dbc8277719ea2e8cc2b1bfa542.tar.gz
bcm5719-llvm-7063d1aa711ee5dbc8277719ea2e8cc2b1bfa542.zip
WHILE does not "pop" a value, it "examines" to top of stack. Make this
clear in the applicable comment. llvm-svn: 21682
Diffstat (limited to 'llvm/projects/Stacker/lib')
-rw-r--r--llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
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<LoadInst>( stack_top(test) );
// Compare the condition against 0
OpenPOWER on IntegriCloud