< prev index next >

src/share/vm/opto/multnode.hpp

Print this page
rev 5783 : 8024069: replace_in_map() should operate on parent maps
Summary: type information gets lost because replace_in_map() doesn't update parent maps
Reviewed-by: kvn, twisti


  69     // Optimistic setting. Need additional checks in Node::is_dead_loop_safe().
  70     if (con != TypeFunc::Memory || src->is_Start())
  71       init_flags(Flag_is_dead_loop_safe);
  72     debug_only(check_con());
  73   }
  74   const uint _con;              // The field in the tuple we are projecting
  75   const bool _is_io_use;        // Used to distinguish between the projections
  76                                 // used on the control and io paths from a macro node
  77   virtual int Opcode() const;
  78   virtual bool      is_CFG() const;
  79   virtual bool depends_only_on_test() const { return false; }
  80   virtual const Type *bottom_type() const;
  81   virtual const TypePtr *adr_type() const;
  82   virtual bool pinned() const;
  83   virtual const Type *Value( PhaseTransform *phase ) const;
  84   virtual uint ideal_reg() const;
  85   virtual const RegMask &out_RegMask() const;
  86 #ifndef PRODUCT
  87   virtual void dump_spec(outputStream *st) const;
  88 #endif








  89 };
  90 
  91 #endif // SHARE_VM_OPTO_MULTNODE_HPP


  69     // Optimistic setting. Need additional checks in Node::is_dead_loop_safe().
  70     if (con != TypeFunc::Memory || src->is_Start())
  71       init_flags(Flag_is_dead_loop_safe);
  72     debug_only(check_con());
  73   }
  74   const uint _con;              // The field in the tuple we are projecting
  75   const bool _is_io_use;        // Used to distinguish between the projections
  76                                 // used on the control and io paths from a macro node
  77   virtual int Opcode() const;
  78   virtual bool      is_CFG() const;
  79   virtual bool depends_only_on_test() const { return false; }
  80   virtual const Type *bottom_type() const;
  81   virtual const TypePtr *adr_type() const;
  82   virtual bool pinned() const;
  83   virtual const Type *Value( PhaseTransform *phase ) const;
  84   virtual uint ideal_reg() const;
  85   virtual const RegMask &out_RegMask() const;
  86 #ifndef PRODUCT
  87   virtual void dump_spec(outputStream *st) const;
  88 #endif
  89 
  90   // Return true if proj is for "proj->[region->..]call_uct"
  91   bool is_uncommon_trap_proj(Deoptimization::DeoptReason reason);
  92   // Return true for    "if(test)-> proj -> ...
  93   //                          |
  94   //                          V
  95   //                      other_proj->[region->..]call_uct"
  96   bool is_uncommon_trap_if_pattern(Deoptimization::DeoptReason reason);
  97 };
  98 
  99 #endif // SHARE_VM_OPTO_MULTNODE_HPP
< prev index next >