mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 04:39:44 +00:00
WHILE does not "pop" a value, it "examines" to top of stack. Make this
clear in the applicable comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21682 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1419711ece
commit
535c619e2b
@ -799,7 +799,7 @@ StackerCompiler::handle_while( char* todo )
|
|||||||
BranchInst* root_br_inst = new BranchInst( test );
|
BranchInst* root_br_inst = new BranchInst( test );
|
||||||
bb->getInstList().push_back( root_br_inst );
|
bb->getInstList().push_back( root_br_inst );
|
||||||
|
|
||||||
// Pop the condition value
|
// Examine the condition value
|
||||||
LoadInst* cond = cast<LoadInst>( stack_top(test) );
|
LoadInst* cond = cast<LoadInst>( stack_top(test) );
|
||||||
|
|
||||||
// Compare the condition against 0
|
// Compare the condition against 0
|
||||||
|
Loading…
Reference in New Issue
Block a user