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:
Roland Westrelin 2013-03-29 17:25:27 +01:00
parent 848ccdbdfe
commit 3c586e8f26
2 changed files with 5 additions and 7 deletions

View file

@ -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);