< prev index next >

src/hotspot/share/adlc/output_h.cpp

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 1998, 2025, 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.
--- 1,7 ---
  /*
!  * Copyright (c) 1998, 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.

*** 1629,11 ***
          !instr->is_mach_constant()) {  // These inherit the function from MachConstantNode.
        fprintf(fp,"  virtual uint           mach_constant_base_node_input() const { ");
        if (instr->is_ideal_call() != Form::invalid_type &&
            instr->is_ideal_call() != Form::JAVA_LEAF) {
          // MachConstantBase goes behind arguments, but before jvms.
!         fprintf(fp,"assert(tf() && tf()->domain(), \"\"); return tf()->domain()->cnt();");
        } else {
          fprintf(fp,"return req()-1;");
        }
        fprintf(fp," }\n");
      }
--- 1629,11 ---
          !instr->is_mach_constant()) {  // These inherit the function from MachConstantNode.
        fprintf(fp,"  virtual uint           mach_constant_base_node_input() const { ");
        if (instr->is_ideal_call() != Form::invalid_type &&
            instr->is_ideal_call() != Form::JAVA_LEAF) {
          // MachConstantBase goes behind arguments, but before jvms.
!         fprintf(fp,"assert(tf() && tf()->domain_cc(), \"\"); return tf()->domain_cc()->cnt();");
        } else {
          fprintf(fp,"return req()-1;");
        }
        fprintf(fp," }\n");
      }
< prev index next >