407 } |
407 } |
408 Node *start_mem = C->start()->proj_out(TypeFunc::Memory); |
408 Node *start_mem = C->start()->proj_out(TypeFunc::Memory); |
409 Node *alloc_mem = alloc->in(TypeFunc::Memory); |
409 Node *alloc_mem = alloc->in(TypeFunc::Memory); |
410 |
410 |
411 uint length = mem->req(); |
411 uint length = mem->req(); |
412 GrowableArray <Node *> values(length, length, NULL); |
412 GrowableArray <Node *> values(length, length, NULL, false); |
413 |
413 |
414 // create a new Phi for the value |
414 // create a new Phi for the value |
415 PhiNode *phi = new (C, length) PhiNode(mem->in(0), phi_type, NULL, instance_id, alias_idx, offset); |
415 PhiNode *phi = new (C, length) PhiNode(mem->in(0), phi_type, NULL, instance_id, alias_idx, offset); |
416 transform_later(phi); |
416 transform_later(phi); |
417 value_phis->push(phi, mem->_idx); |
417 value_phis->push(phi, mem->_idx); |