mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-16 13:25:34 +00:00
8219011: Implement MacroAssembler::warn method on AArch64
Reviewed-by: adinn
This commit is contained in:
parent
e4dc17c354
commit
d6bec9017e
@ -2167,6 +2167,14 @@ void MacroAssembler::stop(const char* msg) {
|
||||
hlt(0);
|
||||
}
|
||||
|
||||
void MacroAssembler::warn(const char* msg) {
|
||||
pusha();
|
||||
mov(c_rarg0, (address)msg);
|
||||
mov(lr, CAST_FROM_FN_PTR(address, warning));
|
||||
blrt(lr, 1, 0, MacroAssembler::ret_type_void);
|
||||
popa();
|
||||
}
|
||||
|
||||
void MacroAssembler::unimplemented(const char* what) {
|
||||
const char* buf = NULL;
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user