equal
deleted
inserted
replaced
47 #include "opto/rootnode.hpp" |
47 #include "opto/rootnode.hpp" |
48 #include "utilities/align.hpp" |
48 #include "utilities/align.hpp" |
49 #include "utilities/copy.hpp" |
49 #include "utilities/copy.hpp" |
50 #include "utilities/macros.hpp" |
50 #include "utilities/macros.hpp" |
51 #include "utilities/vmError.hpp" |
51 #include "utilities/vmError.hpp" |
52 #if INCLUDE_ZGC |
|
53 #include "gc/z/c2/zBarrierSetC2.hpp" |
|
54 #endif |
|
55 |
52 |
56 // Portions of code courtesy of Clifford Click |
53 // Portions of code courtesy of Clifford Click |
57 |
54 |
58 // Optimization - Graph Style |
55 // Optimization - Graph Style |
59 |
56 |
2849 //----------------------------------LoadStoreNode------------------------------ |
2846 //----------------------------------LoadStoreNode------------------------------ |
2850 LoadStoreNode::LoadStoreNode( Node *c, Node *mem, Node *adr, Node *val, const TypePtr* at, const Type* rt, uint required ) |
2847 LoadStoreNode::LoadStoreNode( Node *c, Node *mem, Node *adr, Node *val, const TypePtr* at, const Type* rt, uint required ) |
2851 : Node(required), |
2848 : Node(required), |
2852 _type(rt), |
2849 _type(rt), |
2853 _adr_type(at), |
2850 _adr_type(at), |
2854 _has_barrier(false) |
2851 _barrier(0) |
2855 { |
2852 { |
2856 init_req(MemNode::Control, c ); |
2853 init_req(MemNode::Control, c ); |
2857 init_req(MemNode::Memory , mem); |
2854 init_req(MemNode::Memory , mem); |
2858 init_req(MemNode::Address, adr); |
2855 init_req(MemNode::Address, adr); |
2859 init_req(MemNode::ValueIn, val); |
2856 init_req(MemNode::ValueIn, val); |