hotspot/src/cpu/sparc/vm/nativeInst_sparc.cpp
changeset 363 99d43e8a76ad
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
--- a/hotspot/src/cpu/sparc/vm/nativeInst_sparc.cpp	Wed Apr 16 17:36:29 2008 -0400
+++ b/hotspot/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 );