Mercurial > hg > truffle
comparison src/share/vm/oops/generateOopMap.cpp @ 8104:f16e75e0cf11
8000797: NPG: is_pseudo_string_at() doesn't work
Summary: Zero Symbol* for constant pool strings to indicate pseudo_strings (objects that aren't strings). Clean up JVM_CONSTANT_Object and unused flags.
Reviewed-by: sspitsyn, jrose
author | coleenp |
---|---|
date | Fri, 22 Feb 2013 08:36:42 -0500 |
parents | da91efe96a93 |
children | 2eef6d34833b |
comparison
equal
deleted
inserted
replaced
8103:5ed317b25e23 | 8104:f16e75e0cf11 |
---|---|
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 { |