hotspot/src/share/vm/oops/generateOopMap.cpp
changeset 15799 6aa92f9debd2
parent 13728 882756847a04
child 16374 634539171c19
equal deleted inserted replaced
15798:cea39eefa98e 15799:6aa92f9debd2
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2013, 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.
  1851   BasicType       bt  = ldc.result_type();
  1851   BasicType       bt  = ldc.result_type();
  1852   CellTypeState   cts;
  1852   CellTypeState   cts;
  1853   if (tag.is_klass() ||
  1853   if (tag.is_klass() ||
  1854       tag.is_unresolved_klass() ||
  1854       tag.is_unresolved_klass() ||
  1855       tag.is_string() ||
  1855       tag.is_string() ||
  1856       tag.is_object() ||
       
  1857       tag.is_method_handle() ||
  1856       tag.is_method_handle() ||
  1858       tag.is_method_type()) {
  1857       tag.is_method_type()) {
  1859     assert(bt == T_OBJECT, "Guard is incorrect");
  1858     assert(bt == T_OBJECT, "Guard is incorrect");
  1860     cts = CellTypeState::make_line_ref(bci);
  1859     cts = CellTypeState::make_line_ref(bci);
  1861   } else {
  1860   } else {