equal
deleted
inserted
replaced
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 { |