hotspot/src/cpu/sparc/vm/interp_masm_sparc.cpp
changeset 4892 e977b527544a
parent 4754 8aef16f24e16
child 5046 27e801a857cb
equal deleted inserted replaced
4891:7c8755dd5bb2 4892:e977b527544a
     1 /*
     1 /*
     2  * Copyright 1997-2009 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 1997-2010 Sun Microsystems, Inc.  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.
  1731         // The only thing left to do is handle the null case.
  1731         // The only thing left to do is handle the null case.
  1732         if (is_virtual_call) {
  1732         if (is_virtual_call) {
  1733           brx(Assembler::zero, false, Assembler::pn, found_null);
  1733           brx(Assembler::zero, false, Assembler::pn, found_null);
  1734           delayed()->nop();
  1734           delayed()->nop();
  1735           // Receiver did not match any saved receiver and there is no empty row for it.
  1735           // Receiver did not match any saved receiver and there is no empty row for it.
  1736           // Increment total counter to indicate polimorphic case.
  1736           // Increment total counter to indicate polymorphic case.
  1737           increment_mdp_data_at(in_bytes(CounterData::count_offset()), scratch);
  1737           increment_mdp_data_at(in_bytes(CounterData::count_offset()), scratch);
  1738           ba(false, done);
  1738           ba(false, done);
  1739           delayed()->nop();
  1739           delayed()->nop();
  1740           bind(found_null);
  1740           bind(found_null);
  1741         } else {
  1741         } else {