mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8207011: Remove uses of the register storage class specifier
Reviewed-by: kbarrett, kvn
This commit is contained in:
parent
539a39c5f6
commit
6ffd168ad1
15 changed files with 58 additions and 58 deletions
|
@ -95,11 +95,11 @@
|
|||
|
||||
address os::current_stack_pointer() {
|
||||
#ifdef SPARC_WORKS
|
||||
register void *esp;
|
||||
void *esp;
|
||||
__asm__("mov %%" SPELL_REG_SP ", %0":"=r"(esp));
|
||||
return (address) ((char*)esp + sizeof(long)*2);
|
||||
#elif defined(__clang__)
|
||||
intptr_t* esp;
|
||||
void* esp;
|
||||
__asm__ __volatile__ ("mov %%" SPELL_REG_SP ", %0":"=r"(esp):);
|
||||
return (address) esp;
|
||||
#else
|
||||
|
@ -233,7 +233,7 @@ frame os::get_sender_for_C_frame(frame* fr) {
|
|||
|
||||
intptr_t* _get_previous_fp() {
|
||||
#ifdef SPARC_WORKS
|
||||
register intptr_t **ebp;
|
||||
intptr_t **ebp;
|
||||
__asm__("mov %%" SPELL_REG_FP ", %0":"=r"(ebp));
|
||||
#elif defined(__clang__)
|
||||
intptr_t **ebp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue