equal
deleted
inserted
replaced
1631 } |
1631 } |
1632 |
1632 |
1633 // Output the opcode function and the encode function here using the |
1633 // Output the opcode function and the encode function here using the |
1634 // encoding class information in the _insencode slot. |
1634 // encoding class information in the _insencode slot. |
1635 if ( instr->_insencode ) { |
1635 if ( instr->_insencode ) { |
1636 fprintf(fp," virtual void emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const;\n"); |
1636 if (instr->postalloc_expands()) { |
|
1637 fprintf(fp," virtual bool requires_postalloc_expand() const { return true; }\n"); |
|
1638 fprintf(fp," virtual void postalloc_expand(GrowableArray <Node *> *nodes, PhaseRegAlloc *ra_);\n"); |
|
1639 } else { |
|
1640 fprintf(fp," virtual void emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const;\n"); |
|
1641 } |
1637 } |
1642 } |
1638 |
1643 |
1639 // virtual function for getting the size of an instruction |
1644 // virtual function for getting the size of an instruction |
1640 if ( instr->_size ) { |
1645 if ( instr->_size ) { |
1641 fprintf(fp," virtual uint size(PhaseRegAlloc *ra_) const;\n"); |
1646 fprintf(fp," virtual uint size(PhaseRegAlloc *ra_) const;\n"); |