src/cpu/sparc/vm/templateTable_sparc.cpp

changeset 2438
dd031b2226de
parent 2314
f95d63e2154a
child 2440
bb8e3b66bde6
equal deleted inserted replaced
2437:70427f06ea47 2438:dd031b2226de
1 /* 1 /*
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
1687 } else { 1687 } else {
1688 // Update Backedge branch separately from invocations 1688 // Update Backedge branch separately from invocations
1689 const Register G4_invoke_ctr = G4; 1689 const Register G4_invoke_ctr = G4;
1690 __ increment_backedge_counter(G4_invoke_ctr, G1_scratch); 1690 __ increment_backedge_counter(G4_invoke_ctr, G1_scratch);
1691 if (ProfileInterpreter) { 1691 if (ProfileInterpreter) {
1692 __ test_invocation_counter_for_mdp(G4_invoke_ctr, Lbcp, G3_scratch, Lforward); 1692 __ test_invocation_counter_for_mdp(G4_invoke_ctr, G3_scratch, Lforward);
1693 if (UseOnStackReplacement) { 1693 if (UseOnStackReplacement) {
1694 __ test_backedge_count_for_osr(O2_bumped_count, O0_cur_bcp, G3_scratch); 1694 __ test_backedge_count_for_osr(O2_bumped_count, O0_cur_bcp, G3_scratch);
1695 } 1695 }
1696 } else { 1696 } else {
1697 if (UseOnStackReplacement) { 1697 if (UseOnStackReplacement) {

mercurial