Skip to content

Commit 0be0372

Browse files
committed
Add logic needed for calculating the offset of a stack slot in an entry point.
1 parent 4bf3091 commit 0be0372

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/code/StackSlot.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,25 @@ public boolean equals(Object obj) {
132132
}
133133
return false;
134134
}
135+
136+
// TODO: can we somehow avoid this?
137+
private boolean isOldArgument;
138+
private boolean isNewArgument;
139+
140+
public boolean isOldArgument() {
141+
return isOldArgument;
142+
}
143+
144+
public boolean isNewArgument() {
145+
return isNewArgument;
146+
}
147+
148+
public void setOldArgument(boolean oldArgument) {
149+
this.isOldArgument = oldArgument;
150+
}
151+
152+
public void setNewArgument(boolean newArgument) {
153+
this.isNewArgument = newArgument;
154+
}
155+
135156
}

0 commit comments

Comments
 (0)