Skip to content

Commit d75d876

Browse files
author
Kim Barrett
committed
8322806: Eliminate -Wparentheses warnings in aarch64 code
Reviewed-by: stefank, dholmes
1 parent e442769 commit d75d876

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/cpu/aarch64/frame_aarch64.inline.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
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.
33
* Copyright (c) 2014, Red Hat Inc. All rights reserved.
44
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
*
@@ -195,7 +195,7 @@ inline bool frame::equal(frame other) const {
195195
&& unextended_sp() == other.unextended_sp()
196196
&& fp() == other.fp()
197197
&& pc() == other.pc();
198-
assert(!ret || ret && cb() == other.cb() && _deopt_state == other._deopt_state, "inconsistent construction");
198+
assert(!ret || (cb() == other.cb() && _deopt_state == other._deopt_state), "inconsistent construction");
199199
return ret;
200200
}
201201

0 commit comments

Comments
 (0)