equal
deleted
inserted
replaced
2781 insert_mem_bar(Op_MemBarCPUOrder); |
2781 insert_mem_bar(Op_MemBarCPUOrder); |
2782 insert_mem_bar(Op_MemBarAcquire); |
2782 insert_mem_bar(Op_MemBarAcquire); |
2783 |
2783 |
2784 #ifdef _LP64 |
2784 #ifdef _LP64 |
2785 if (type == T_OBJECT && adr->bottom_type()->is_ptr_to_narrowoop() && kind == LS_xchg) { |
2785 if (type == T_OBJECT && adr->bottom_type()->is_ptr_to_narrowoop() && kind == LS_xchg) { |
2786 load_store = _gvn.transform(new (C) DecodeNNode(load_store, load_store->bottom_type()->make_ptr())); |
2786 load_store = _gvn.transform(new (C) DecodeNNode(load_store, load_store->get_ptr_type())); |
2787 } |
2787 } |
2788 #endif |
2788 #endif |
2789 |
2789 |
2790 assert(type2size[load_store->bottom_type()->basic_type()] == type2size[rtype], "result type should match"); |
2790 assert(type2size[load_store->bottom_type()->basic_type()] == type2size[rtype], "result type should match"); |
2791 set_result(load_store); |
2791 set_result(load_store); |