< prev index next >

src/hotspot/share/adlc/output_c.cpp

Print this page
rev 52827 : Revert MachMemBarNode related diffs vs. upstream

*** 3261,3270 **** --- 3261,3274 ---- // Ensure this is a machine-world instruction if ( instr->ideal_only() ) continue; // Analyze machine instructions that either USE or DEF memory. int memory_operand = instr->memory_operand(_globalNames); + // Some guys kill all of memory + if ( instr->is_wide_memory_kill(_globalNames) ) { + memory_operand = InstructForm::MANY_MEMORY_OPERANDS; + } if ( memory_operand != InstructForm::NO_MEMORY_OPERAND ) { if( memory_operand == InstructForm::MANY_MEMORY_OPERANDS ) { fprintf(fp,"const TypePtr *%sNode::adr_type() const { return TypePtr::BOTTOM; }\n", instr->_ident); fprintf(fp,"const MachOper* %sNode::memory_operand() const { return (MachOper*)-1; }\n", instr->_ident);
< prev index next >