< prev index next >
src/hotspot/share/gc/shared/c2/barrierSetC2.hpp
Print this page
rev 52491 : 8213746: GC/C2 abstraction for C2 matcher
*** 26,35 ****
--- 26,36 ----
#define SHARE_GC_SHARED_C2_BARRIERSETC2_HPP
#include "memory/allocation.hpp"
#include "oops/accessDecorators.hpp"
#include "opto/loopnode.hpp"
+ #include "opto/matcher.hpp"
#include "opto/memnode.hpp"
#include "utilities/globalDefinitions.hpp"
// This means the access is mismatched. This means the value of an access
// is not equivalent to the value pointed to by the address.
*** 289,296 ****
--- 290,300 ----
virtual bool verify_gc_alias_type(const TypePtr* adr_type, int offset) const { return false; }
#endif
virtual bool final_graph_reshaping(Compile* compile, Node* n, uint opcode) const { return false; }
+ virtual bool matcher_find_shared_visit(Matcher* matcher, Matcher::MStack& mstack, Node* n, uint opcode, bool& mem_op, int& mem_addr_idx) const { return false; };
+ virtual bool matcher_find_shared_post_visit(Matcher* matcher, Node* n, uint opcode) const { return false; };
+ virtual bool matcher_is_store_load_barrier(Node* x, uint xop) const { return false; }
};
#endif // SHARE_GC_SHARED_C2_BARRIERSETC2_HPP
< prev index next >