< prev index next >
src/hotspot/cpu/x86/macroAssembler_x86.cpp
Print this page
*** 3658,3670 ****
// (e.g., MSVC can't call ps() otherwise)
call(RuntimeAddress(CAST_FROM_FN_PTR(address, os::breakpoint)));
}
void MacroAssembler::unimplemented(const char* what) {
! char* b = new char[1024];
! jio_snprintf(b, 1024, "unimplemented: %s", what);
! stop(b);
}
#ifdef _LP64
#define XSTATE_BV 0x200
#endif
--- 3658,3675 ----
// (e.g., MSVC can't call ps() otherwise)
call(RuntimeAddress(CAST_FROM_FN_PTR(address, os::breakpoint)));
}
void MacroAssembler::unimplemented(const char* what) {
! const char* buf = NULL;
! {
! ResourceMark rm;
! stringStream ss;
! ss.print("unimplemented: %s", what);
! buf = code_string(ss.as_string());
! }
! stop(buf);
}
#ifdef _LP64
#define XSTATE_BV 0x200
#endif
< prev index next >