Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/opto/block.cpp Tue Aug 16 04:14:05 2011 -0700 +++ b/src/share/vm/opto/block.cpp Tue Aug 16 11:53:57 2011 -0700 @@ -839,7 +839,7 @@ // Make sure we TRUE branch to the target if( proj0->Opcode() == Op_IfFalse ) { - iff->negate(); + iff->as_MachIf()->negate(); } b->_nodes.pop(); // Remove IfFalse & IfTrue projections