src/hotspot/share/adlc/output_c.cpp
changeset 51566 904cf5407ac7
parent 51078 fc6cfe40e32a
child 55743 fb2b47f0e067
child 58678 9cf78a70fa4f
equal deleted inserted replaced
51565:7e5f08c619e3 51566:904cf5407ac7
  3261     // Ensure this is a machine-world instruction
  3261     // Ensure this is a machine-world instruction
  3262     if ( instr->ideal_only() ) continue;
  3262     if ( instr->ideal_only() ) continue;
  3263 
  3263 
  3264     // Analyze machine instructions that either USE or DEF memory.
  3264     // Analyze machine instructions that either USE or DEF memory.
  3265     int memory_operand = instr->memory_operand(_globalNames);
  3265     int memory_operand = instr->memory_operand(_globalNames);
  3266     // Some guys kill all of memory
       
  3267     if ( instr->is_wide_memory_kill(_globalNames) ) {
       
  3268       memory_operand = InstructForm::MANY_MEMORY_OPERANDS;
       
  3269     }
       
  3270 
  3266 
  3271     if ( memory_operand != InstructForm::NO_MEMORY_OPERAND ) {
  3267     if ( memory_operand != InstructForm::NO_MEMORY_OPERAND ) {
  3272       if( memory_operand == InstructForm::MANY_MEMORY_OPERANDS ) {
  3268       if( memory_operand == InstructForm::MANY_MEMORY_OPERANDS ) {
  3273         fprintf(fp,"const TypePtr *%sNode::adr_type() const { return TypePtr::BOTTOM; }\n", instr->_ident);
  3269         fprintf(fp,"const TypePtr *%sNode::adr_type() const { return TypePtr::BOTTOM; }\n", instr->_ident);
  3274         fprintf(fp,"const MachOper* %sNode::memory_operand() const { return (MachOper*)-1; }\n", instr->_ident);
  3270         fprintf(fp,"const MachOper* %sNode::memory_operand() const { return (MachOper*)-1; }\n", instr->_ident);