Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
115:e7a91a357527 | 116:018d5b58dd4f |
---|---|
23 */ | 23 */ |
24 | 24 |
25 # include "incls/_precompiled.incl" | 25 # include "incls/_precompiled.incl" |
26 # include "incls/_nativeInst_sparc.cpp.incl" | 26 # include "incls/_nativeInst_sparc.cpp.incl" |
27 | 27 |
28 | |
29 bool NativeInstruction::is_dtrace_trap() { | |
30 return !is_nop(); | |
31 } | |
28 | 32 |
29 void NativeInstruction::set_data64_sethi(address instaddr, intptr_t x) { | 33 void NativeInstruction::set_data64_sethi(address instaddr, intptr_t x) { |
30 ResourceMark rm; | 34 ResourceMark rm; |
31 CodeBuffer buf(instaddr, 10 * BytesPerInstWord ); | 35 CodeBuffer buf(instaddr, 10 * BytesPerInstWord ); |
32 MacroAssembler* _masm = new MacroAssembler(&buf); | 36 MacroAssembler* _masm = new MacroAssembler(&buf); |