src/share/vm/adlc/output_h.cpp

changeset 6478
044b28168e20
parent 6472
2b8e28fdf503
child 6484
318d0622a6d7
     1.1 --- a/src/share/vm/adlc/output_h.cpp	Thu Nov 07 11:47:11 2013 +0100
     1.2 +++ b/src/share/vm/adlc/output_h.cpp	Thu Nov 14 19:24:59 2013 -0800
     1.3 @@ -1633,7 +1633,12 @@
     1.4      // Output the opcode function and the encode function here using the
     1.5      // encoding class information in the _insencode slot.
     1.6      if ( instr->_insencode ) {
     1.7 -      fprintf(fp,"  virtual void           emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const;\n");
     1.8 +      if (instr->postalloc_expands()) {
     1.9 +        fprintf(fp,"  virtual bool           requires_postalloc_expand() const { return true; }\n");
    1.10 +        fprintf(fp,"  virtual void           postalloc_expand(GrowableArray <Node *> *nodes, PhaseRegAlloc *ra_);\n");
    1.11 +      } else {
    1.12 +        fprintf(fp,"  virtual void           emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const;\n");
    1.13 +      }
    1.14      }
    1.15  
    1.16      // virtual function for getting the size of an instruction

mercurial