Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/c1_CodeStubs_x86.cpp @ 3260:527b586edf24
7036706: G1: Use LIR_OprDesc::as_pointer_register in code changes for 7035117
Summary: Use LIR_OprDesc::as_pointer_register() instead as_register/as_register_lo combination in the code changes for 7035117.
Reviewed-by: iveresov
author | johnc |
---|---|
date | Mon, 18 Apr 2011 16:27:16 -0700 |
parents | 5d046bf49ce7 |
children | cec1757a0134 |
comparison
equal
deleted
inserted
replaced
3259:1d0b856224f8 | 3260:527b586edf24 |
---|---|
523 __ cmpl(ref_type_adr, REF_NONE); | 523 __ cmpl(ref_type_adr, REF_NONE); |
524 __ jcc(Assembler::equal, _continuation); | 524 __ jcc(Assembler::equal, _continuation); |
525 | 525 |
526 // Is marking active? | 526 // Is marking active? |
527 assert(thread()->is_register(), "precondition"); | 527 assert(thread()->is_register(), "precondition"); |
528 Register thread_reg = NOT_LP64(thread()->as_register()) LP64_ONLY(thread()->as_register_lo()); | 528 Register thread_reg = thread()->as_pointer_register(); |
529 | 529 |
530 Address in_progress(thread_reg, in_bytes(JavaThread::satb_mark_queue_offset() + | 530 Address in_progress(thread_reg, in_bytes(JavaThread::satb_mark_queue_offset() + |
531 PtrQueue::byte_offset_of_active())); | 531 PtrQueue::byte_offset_of_active())); |
532 | 532 |
533 if (in_bytes(PtrQueue::byte_width_of_active()) == 4) { | 533 if (in_bytes(PtrQueue::byte_width_of_active()) == 4) { |