< prev index next >

src/hotspot/share/adlc/output_h.cpp

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

@@ -2000,10 +2000,14 @@
       fprintf(fp,"  virtual uint           ideal_reg() const { return Compile::current()->matcher()->base2reg[Type::Int]; }\n");
     }*/
 
     // 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,"  virtual const TypePtr *adr_type() const;\n");
       }
       fprintf(fp,"  virtual const MachOper *memory_operand() const;\n");
< prev index next >