changeset 51573 | 3b3685479784 |
parent 50172 | 9925e9fd56ad |
child 51577 | 64331e014bc7 |
--- a/src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp Tue Aug 21 17:47:59 2018 +0200 +++ b/src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp Tue Aug 21 13:44:59 2018 +0100 @@ -1107,7 +1107,7 @@ } } __ pop(x, sp); - for ( int i = first_arg ; i < arg_count ; i++ ) { + for ( int i = arg_count - 1 ; i >= first_arg ; i-- ) { if (args[i].first()->is_Register()) { ; } else if (args[i].first()->is_FloatRegister()) {