< prev index next >

src/hotspot/share/ci/ciConstant.hpp

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 1999, 2025, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 1999, 2026, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -107,18 +107,19 @@
    ciObject* as_object() const {
      assert(is_reference_type(basic_type()), "wrong type");
      return _value._object;
    }
  
+   static ciConstant make_zero_or_null(BasicType);
    bool is_null_or_zero() const;
  
    bool is_valid() const {
      return basic_type() != T_ILLEGAL;
    }
  
    bool is_loaded() const;
  
    // Debugging output
-   void print();
+   void print() const;
  };
  
  #endif // SHARE_CI_CICONSTANT_HPP
< prev index next >