src/share/vm/opto/memnode.hpp

changeset 3052
1af104d6cf99
parent 3047
f1c12354c3f7
child 3157
a92cdbac8b9e
     1.1 --- a/src/share/vm/opto/memnode.hpp	Tue Aug 16 11:53:57 2011 -0700
     1.2 +++ b/src/share/vm/opto/memnode.hpp	Tue Aug 16 16:59:46 2011 -0700
     1.3 @@ -1278,6 +1278,16 @@
     1.4    virtual int Opcode() const;
     1.5    virtual uint ideal_reg() const { return NotAMachineReg; }
     1.6    virtual uint match_edge(uint idx) const { return idx==2; }
     1.7 +  virtual const Type *bottom_type() const { return Type::ABIO; }
     1.8 +};
     1.9 +
    1.10 +// Allocation prefetch which may fault, TLAB size have to be adjusted.
    1.11 +class PrefetchAllocationNode : public Node {
    1.12 +public:
    1.13 +  PrefetchAllocationNode(Node *mem, Node *adr) : Node(0,mem,adr) {}
    1.14 +  virtual int Opcode() const;
    1.15 +  virtual uint ideal_reg() const { return NotAMachineReg; }
    1.16 +  virtual uint match_edge(uint idx) const { return idx==2; }
    1.17    virtual const Type *bottom_type() const { return ( AllocatePrefetchStyle == 3 ) ? Type::MEMORY : Type::ABIO; }
    1.18  };
    1.19  

mercurial