diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-05-04 15:33:48 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-05-04 15:33:48 +0000 |
commit | 7063d1aa711ee5dbc8277719ea2e8cc2b1bfa542 (patch) | |
tree | 96c6b5bbbe43bcc2975b859de238163e44055ee5 /llvm/projects/Stacker/lib | |
parent | 6b551024ac7120d5a49ba27f1e026e1d4dc2c3fa (diff) | |
download | bcm5719-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.cpp | 2 |
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 |