equal
deleted
inserted
replaced
460 instruction_size = 8 |
460 instruction_size = 8 |
461 }; |
461 }; |
462 |
462 |
463 address instruction_address() const { return addr_at(0); } |
463 address instruction_address() const { return addr_at(0); } |
464 |
464 |
|
465 int num_bytes_to_end_of_patch() const { return instruction_size; } |
|
466 |
465 intptr_t offset() const { |
467 intptr_t offset() const { |
466 #ifdef VM_LITTLE_ENDIAN |
468 #ifdef VM_LITTLE_ENDIAN |
467 short *hi_ptr = (short*)(addr_at(0)); |
469 short *hi_ptr = (short*)(addr_at(0)); |
468 short *lo_ptr = (short*)(addr_at(4)); |
470 short *lo_ptr = (short*)(addr_at(4)); |
469 #else |
471 #else |