Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/block.cpp @ 3853:11211f7cb5a0
7079317: Incorrect branch's destination block in PrintoOptoAssembly output
Summary: save/restore label and block in scratch_emit_size()
Reviewed-by: never
author | kvn |
---|---|
date | Tue, 16 Aug 2011 11:53:57 -0700 |
parents | 95134e034042 |
children | f94227b6117b |
comparison
equal
deleted
inserted
replaced
3852:fdb992d83a87 | 3853:11211f7cb5a0 |
---|---|
837 insert_goto_at(i, 1); | 837 insert_goto_at(i, 1); |
838 } | 838 } |
839 | 839 |
840 // Make sure we TRUE branch to the target | 840 // Make sure we TRUE branch to the target |
841 if( proj0->Opcode() == Op_IfFalse ) { | 841 if( proj0->Opcode() == Op_IfFalse ) { |
842 iff->negate(); | 842 iff->as_MachIf()->negate(); |
843 } | 843 } |
844 | 844 |
845 b->_nodes.pop(); // Remove IfFalse & IfTrue projections | 845 b->_nodes.pop(); // Remove IfFalse & IfTrue projections |
846 b->_nodes.pop(); | 846 b->_nodes.pop(); |
847 | 847 |