src/hotspot/cpu/aarch64/aarch64.ad
changeset 49455 848864ed9b17
parent 49164 7e958a8ebcd3
child 49619 78c21c351b90
equal deleted inserted replaced
49454:689ebcfe04fd 49455:848864ed9b17
   994 // definitions necessary in the rest of the architecture description
   994 // definitions necessary in the rest of the architecture description
   995 
   995 
   996 source_hpp %{
   996 source_hpp %{
   997 
   997 
   998 #include "gc/shared/cardTable.hpp"
   998 #include "gc/shared/cardTable.hpp"
   999 #include "gc/shared/cardTableModRefBS.hpp"
   999 #include "gc/shared/cardTableBarrierSet.hpp"
  1000 #include "opto/addnode.hpp"
  1000 #include "opto/addnode.hpp"
  1001 
  1001 
  1002 class CallStubImpl {
  1002 class CallStubImpl {
  1003 
  1003 
  1004   //--------------------------------------------------------------
  1004   //--------------------------------------------------------------
  5843 
  5843 
  5844 // Card Table Byte Map Base
  5844 // Card Table Byte Map Base
  5845 operand immByteMapBase()
  5845 operand immByteMapBase()
  5846 %{
  5846 %{
  5847   // Get base of card map
  5847   // Get base of card map
  5848   predicate(Universe::heap()->barrier_set()->is_a(BarrierSet::CardTableModRef) &&
  5848   predicate(Universe::heap()->barrier_set()->is_a(BarrierSet::CardTableBarrierSet) &&
  5849             (jbyte*)n->get_ptr() == ((CardTableModRefBS*)(Universe::heap()->barrier_set()))->card_table()->byte_map_base());
  5849             (jbyte*)n->get_ptr() == ((CardTableBarrierSet*)(Universe::heap()->barrier_set()))->card_table()->byte_map_base());
  5850   match(ConP);
  5850   match(ConP);
  5851 
  5851 
  5852   op_cost(0);
  5852   op_cost(0);
  5853   format %{ %}
  5853   format %{ %}
  5854   interface(CONST_INTER);
  5854   interface(CONST_INTER);