comparison src/cpu/x86/vm/methodHandles_x86.cpp @ 1108:85f13cdfbc1d

6829192: JSR 292 needs to support 64-bit x86 Summary: changes for method handles and invokedynamic Reviewed-by: kvn
author twisti
date Wed, 16 Dec 2009 12:48:04 +0100
parents 987e948ebbc8
children aa62b9388fce
comparison
equal deleted inserted replaced
1102:6dc5471e0f66 1108:85f13cdfbc1d
446 assert(vtableEntry::size() * wordSize == wordSize, "adjust the scaling in the code below"); 446 assert(vtableEntry::size() * wordSize == wordSize, "adjust the scaling in the code below");
447 Address vtable_entry_addr(rax_klass, 447 Address vtable_entry_addr(rax_klass,
448 rbx_index, Address::times_ptr, 448 rbx_index, Address::times_ptr,
449 base + vtableEntry::method_offset_in_bytes()); 449 base + vtableEntry::method_offset_in_bytes());
450 Register rbx_method = rbx_temp; 450 Register rbx_method = rbx_temp;
451 __ movl(rbx_method, vtable_entry_addr); 451 __ movptr(rbx_method, vtable_entry_addr);
452 452
453 __ verify_oop(rbx_method); 453 __ verify_oop(rbx_method);
454 __ jmp(rbx_method_fie); 454 __ jmp(rbx_method_fie);
455 } 455 }
456 break; 456 break;