mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8010934: assert failure in c1_LinearScan.cpp: "asumption: non-Constant instructions have only virtual operands"
Incorrect code to skip some ArrayLength instructions in LIRGenerator Reviewed-by: kvn
This commit is contained in:
parent
848ccdbdfe
commit
3c586e8f26
2 changed files with 5 additions and 7 deletions
|
@ -1872,8 +1872,6 @@ void LIRGenerator::do_NIOCheckIndex(Intrinsic* x) {
|
|||
|
||||
|
||||
void LIRGenerator::do_ArrayLength(ArrayLength* x) {
|
||||
if (x->use_count() == 0 && !x->can_trap()) return;
|
||||
|
||||
LIRItem array(x->array(), this);
|
||||
array.load_item();
|
||||
LIR_Opr reg = rlock_result(x);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue