comparison src/cpu/x86/vm/nativeInst_x86.cpp @ 116:018d5b58dd4f

6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes Summary: Initial checkin of JSDT code Reviewed-by: acorn, sbohne
author kamg
date Thu, 17 Apr 2008 22:18:15 -0400
parents a61af66fc99e
children d1605aabd0a1
comparison
equal deleted inserted replaced
115:e7a91a357527 116:018d5b58dd4f
470 if (is_rel32off) 470 if (is_rel32off)
471 return addr_at(0) + length + int_at(offset); 471 return addr_at(0) + length + int_at(offset);
472 else 472 else
473 return addr_at(0) + length + sbyte_at(offset); 473 return addr_at(0) + length + sbyte_at(offset);
474 } 474 }
475
476 bool NativeInstruction::is_dtrace_trap() {
477 return (*(int32_t*)this & 0xff) == 0xcc;
478 }