< prev index next >

src/hotspot/share/c1/c1_GraphBuilder.cpp

Print this page

*** 1008,1018 **** void GraphBuilder::store_indexed(BasicType type) { // In case of in block code motion in range check elimination ValueStack* state_before = copy_state_indexed_access(); - ValueStack* deopt_state = copy_state_before(); compilation()->set_has_access_indexed(true); Value value = pop(as_ValueType(type)); Value index = ipop(); Value array = apop(); Value length = NULL; --- 1008,1017 ----
*** 1032,1045 **** } } else if (type == T_BYTE) { check_boolean = true; } - if (array->is_flattened_array() && !array_type->is_loaded()) { - // Value array access may be deoptimized. Need full "before" states. - state_before = deopt_state; - } StoreIndexed* result = new StoreIndexed(array, index, length, type, value, state_before, check_boolean); append(result); _memory->store_value(value); if (type == T_OBJECT && is_profiling()) { --- 1031,1040 ----
< prev index next >