hotspot/src/share/vm/utilities/constantTag.hpp
changeset 24334 36096f7271f4
parent 20677 ff4fc393de4c
child 37466 287c4ebd11b0
equal deleted inserted replaced
24333:c7214442139d 24334:36096f7271f4
     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