mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-23 00:35:13 +00:00
8005722: Assert in c1_LIR.hpp incorrect wrt to number of register operands
In LIR_OpVisitState::visit() the receiver operand is processed twice Reviewed-by: roland, vladidan
This commit is contained in:
parent
4de970006b
commit
deceb833bf
@ -814,7 +814,7 @@ void LIR_OpVisitState::visit(LIR_Op* op) {
|
||||
|
||||
// only visit register parameters
|
||||
int n = opJavaCall->_arguments->length();
|
||||
for (int i = 0; i < n; i++) {
|
||||
for (int i = opJavaCall->_receiver->is_valid() ? 1 : 0; i < n; i++) {
|
||||
if (!opJavaCall->_arguments->at(i)->is_pointer()) {
|
||||
do_input(*opJavaCall->_arguments->adr_at(i));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user