|
1 | 1 | /*
|
2 |
| - * Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved. |
| 2 | + * Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | * Copyright (c) 2014, 2020, Red Hat Inc. All rights reserved.
|
4 | 4 | * Copyright (c) 2020, 2023, Huawei Technologies Co., Ltd. All rights reserved.
|
5 | 5 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
@@ -4904,9 +4904,9 @@ void MacroAssembler::object_move(OopMap* map,
|
4904 | 4904 |
|
4905 | 4905 | // A float arg may have to do float reg int reg conversion
|
4906 | 4906 | void MacroAssembler::float_move(VMRegPair src, VMRegPair dst, Register tmp) {
|
4907 |
| - assert(src.first()->is_stack() && dst.first()->is_stack() || |
4908 |
| - src.first()->is_reg() && dst.first()->is_reg() || |
4909 |
| - src.first()->is_stack() && dst.first()->is_reg(), "Unexpected error"); |
| 4907 | + assert((src.first()->is_stack() && dst.first()->is_stack()) || |
| 4908 | + (src.first()->is_reg() && dst.first()->is_reg()) || |
| 4909 | + (src.first()->is_stack() && dst.first()->is_reg()), "Unexpected error"); |
4910 | 4910 | if (src.first()->is_stack()) {
|
4911 | 4911 | if (dst.first()->is_stack()) {
|
4912 | 4912 | lwu(tmp, Address(fp, reg2offset_in(src.first())));
|
@@ -4948,9 +4948,9 @@ void MacroAssembler::long_move(VMRegPair src, VMRegPair dst, Register tmp) {
|
4948 | 4948 |
|
4949 | 4949 | // A double move
|
4950 | 4950 | void MacroAssembler::double_move(VMRegPair src, VMRegPair dst, Register tmp) {
|
4951 |
| - assert(src.first()->is_stack() && dst.first()->is_stack() || |
4952 |
| - src.first()->is_reg() && dst.first()->is_reg() || |
4953 |
| - src.first()->is_stack() && dst.first()->is_reg(), "Unexpected error"); |
| 4951 | + assert((src.first()->is_stack() && dst.first()->is_stack()) || |
| 4952 | + (src.first()->is_reg() && dst.first()->is_reg()) || |
| 4953 | + (src.first()->is_stack() && dst.first()->is_reg()), "Unexpected error"); |
4954 | 4954 | if (src.first()->is_stack()) {
|
4955 | 4955 | if (dst.first()->is_stack()) {
|
4956 | 4956 | ld(tmp, Address(fp, reg2offset_in(src.first())));
|
|
0 commit comments