src/share/vm/utilities/constantTag.hpp

changeset 9966
baf9f57c9b46
parent 5889
28ca974cc21a
child 10015
eb7ce841ccec
equal deleted inserted replaced
9965:c39172598323 9966:baf9f57c9b46
1 /* 1 /*
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2014, 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.
107 (tag >= JVM_CONSTANT_InternalMin && tag <= JVM_CONSTANT_InternalMax), "Invalid constant tag"); 107 (tag >= JVM_CONSTANT_InternalMin && tag <= JVM_CONSTANT_InternalMax), "Invalid constant tag");
108 _tag = tag; 108 _tag = tag;
109 } 109 }
110 110
111 jbyte value() const { return _tag; } 111 jbyte value() const { return _tag; }
112 jbyte error_value() const;
112 jbyte non_error_value() const; 113 jbyte non_error_value() const;
113 114
114 BasicType basic_type() const; // if used with ldc, what kind of value gets pushed? 115 BasicType basic_type() const; // if used with ldc, what kind of value gets pushed?
115 116
116 const char* internal_name() const; // for error reporting 117 const char* internal_name() const; // for error reporting

mercurial