Mercurial > hg > truffle
diff src/cpu/sparc/vm/nativeInst_sparc.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 |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/nativeInst_sparc.cpp Wed Apr 16 17:36:29 2008 -0400 +++ b/src/cpu/sparc/vm/nativeInst_sparc.cpp Thu Apr 17 22:18:15 2008 -0400 @@ -26,6 +26,10 @@ # include "incls/_nativeInst_sparc.cpp.incl" +bool NativeInstruction::is_dtrace_trap() { + return !is_nop(); +} + void NativeInstruction::set_data64_sethi(address instaddr, intptr_t x) { ResourceMark rm; CodeBuffer buf(instaddr, 10 * BytesPerInstWord );