hotspot/src/share/vm/adlc/output_h.cpp
changeset 46630 75aa3e39d02c
parent 25930 eae8b7490d2c
equal deleted inserted replaced
46629:8eeacdc76bf2 46630:75aa3e39d02c
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2017, 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.
  1842     // Virtual methods which are only generated to override base class
  1842     // Virtual methods which are only generated to override base class
  1843     if( instr->expands() || instr->needs_projections() ||
  1843     if( instr->expands() || instr->needs_projections() ||
  1844         instr->has_temps() ||
  1844         instr->has_temps() ||
  1845         instr->is_mach_constant() ||
  1845         instr->is_mach_constant() ||
  1846         instr->needs_constant_base() ||
  1846         instr->needs_constant_base() ||
  1847         instr->_matrule != NULL &&
  1847         (instr->_matrule != NULL &&
  1848         instr->num_opnds() != instr->num_unique_opnds() ) {
  1848          instr->num_opnds() != instr->num_unique_opnds()) ) {
  1849       fprintf(fp,"  virtual MachNode      *Expand(State *state, Node_List &proj_list, Node* mem);\n");
  1849       fprintf(fp,"  virtual MachNode      *Expand(State *state, Node_List &proj_list, Node* mem);\n");
  1850     }
  1850     }
  1851 
  1851 
  1852     if (instr->is_pinned(_globalNames)) {
  1852     if (instr->is_pinned(_globalNames)) {
  1853       fprintf(fp,"  virtual bool           pinned() const { return ");
  1853       fprintf(fp,"  virtual bool           pinned() const { return ");