changeset 14626 | 0cf4eccf130f |
parent 14624 | 8f5ec8cfe196 |
child 14633 | 58caa6fc3b7c |
--- a/hotspot/src/share/vm/asm/codeBuffer.cpp Fri Nov 30 11:44:05 2012 -0800 +++ b/hotspot/src/share/vm/asm/codeBuffer.cpp Fri Nov 30 15:23:16 2012 -0800 @@ -254,6 +254,10 @@ return start + locator_pos(locator); } +bool CodeBuffer::is_backward_branch(Label& L) { + return L.is_bound() && insts_end() <= locator_address(L.loc()); +} + address CodeBuffer::decode_begin() { address begin = _insts.start(); if (_decode_begin != NULL && _decode_begin > begin)