equal
deleted
inserted
replaced
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); |