Mercurial > hg > truffle
diff src/share/vm/c1/c1_LIRGenerator.cpp @ 8869:d595e8ddadd9
8010934: assert failure in c1_LinearScan.cpp: "asumption: non-Constant instructions have only virtual operands"
Summary: incorrect code to skip some ArrayLength instructions in LIRGenerator
Reviewed-by: kvn
author | roland |
---|---|
date | Fri, 29 Mar 2013 17:25:27 +0100 |
parents | 46f6f063b272 |
children | b9a918201d47 8be1318fbe77 aeaca88565e6 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIRGenerator.cpp Tue Mar 26 12:55:26 2013 -0700 +++ b/src/share/vm/c1/c1_LIRGenerator.cpp Fri Mar 29 17:25:27 2013 +0100 @@ -1872,8 +1872,6 @@ 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);