hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
changeset 16620 294771974de2
parent 16611 6807a703dd6b
child 16672 152c041083e1
child 17000 11bf92e571a2
--- a/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp	Tue Mar 26 12:55:26 2013 -0700
+++ b/hotspot/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);