Skip to content

Commit 1959065

Browse files
committed
more
1 parent 9204cff commit 1959065

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/hotspot/share/opto/arraycopynode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,11 +681,11 @@ bool ArrayCopyNode::may_modify(const TypeOopPtr* t_oop, PhaseValues* phase) {
681681
return CallNode::may_modify_arraycopy_helper(dest_t, t_oop, phase);
682682
}
683683

684-
bool ArrayCopyNode::may_modify_helper(const TypeOopPtr* t_oop, Node* n, PhaseValues* phase, ArrayCopyNode*&call) {
684+
bool ArrayCopyNode::may_modify_helper(const TypeOopPtr* t_oop, Node* n, PhaseValues* phase, ArrayCopyNode*& ac) {
685685
if (n != nullptr &&
686686
n->is_ArrayCopy() &&
687687
n->as_ArrayCopy()->may_modify(t_oop, phase)) {
688-
call = n->as_ArrayCopy();
688+
ac = n->as_ArrayCopy();
689689
return true;
690690
}
691691
return false;

src/hotspot/share/opto/arraycopynode.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class ArrayCopyNode : public CallNode {
121121
BasicType copy_type, const Type* value_type, int count);
122122
bool finish_transform(PhaseGVN *phase, bool can_reshape,
123123
Node* ctl, Node *mem);
124-
static bool may_modify_helper(const TypeOopPtr* t_oop, Node* n, PhaseValues* phase, ArrayCopyNode*&call);
124+
static bool may_modify_helper(const TypeOopPtr* t_oop, Node* n, PhaseValues* phase, ArrayCopyNode*& ac);
125125
public:
126126
static Node* load(BarrierSetC2* bs, PhaseGVN *phase, Node*& ctl, MergeMemNode* mem, Node* addr, const TypePtr* adr_type, const Type *type, BasicType bt);
127127
private:

0 commit comments

Comments
 (0)