src/hotspot/share/adlc/output_h.cpp
changeset 51566 904cf5407ac7
parent 51333 f6641fcf7b7e
child 59028 4dbdb7a8fa75
equal deleted inserted replaced
51565:7e5f08c619e3 51566:904cf5407ac7
  2000       fprintf(fp,"  virtual uint           ideal_reg() const { return Compile::current()->matcher()->base2reg[Type::Int]; }\n");
  2000       fprintf(fp,"  virtual uint           ideal_reg() const { return Compile::current()->matcher()->base2reg[Type::Int]; }\n");
  2001     }*/
  2001     }*/
  2002 
  2002 
  2003     // Analyze machine instructions that either USE or DEF memory.
  2003     // Analyze machine instructions that either USE or DEF memory.
  2004     int memory_operand = instr->memory_operand(_globalNames);
  2004     int memory_operand = instr->memory_operand(_globalNames);
  2005     // Some guys kill all of memory
       
  2006     if ( instr->is_wide_memory_kill(_globalNames) ) {
       
  2007       memory_operand = InstructForm::MANY_MEMORY_OPERANDS;
       
  2008     }
       
  2009     if ( memory_operand != InstructForm::NO_MEMORY_OPERAND ) {
  2005     if ( memory_operand != InstructForm::NO_MEMORY_OPERAND ) {
  2010       if( memory_operand == InstructForm::MANY_MEMORY_OPERANDS ) {
  2006       if( memory_operand == InstructForm::MANY_MEMORY_OPERANDS ) {
  2011         fprintf(fp,"  virtual const TypePtr *adr_type() const;\n");
  2007         fprintf(fp,"  virtual const TypePtr *adr_type() const;\n");
  2012       }
  2008       }
  2013       fprintf(fp,"  virtual const MachOper *memory_operand() const;\n");
  2009       fprintf(fp,"  virtual const MachOper *memory_operand() const;\n");