Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/callnode.cpp @ 39:76256d272075
6667612: (Escape Analysis) disable loop cloning if it has a scalar replaceable allocation
Summary: Cloning an allocation will not allow scalar replacement since memory operations could not be associated with one allocation.
Reviewed-by: rasbold
author | kvn |
---|---|
date | Thu, 06 Mar 2008 10:53:33 -0800 |
parents | a61af66fc99e |
children | eac007780a58 |
comparison
equal
deleted
inserted
replaced
38:b789bcaf2dd9 | 39:76256d272075 |
---|---|
830 Node *size, Node *klass_node, Node *initial_test) | 830 Node *size, Node *klass_node, Node *initial_test) |
831 : CallNode(atype, NULL, TypeRawPtr::BOTTOM) | 831 : CallNode(atype, NULL, TypeRawPtr::BOTTOM) |
832 { | 832 { |
833 init_class_id(Class_Allocate); | 833 init_class_id(Class_Allocate); |
834 init_flags(Flag_is_macro); | 834 init_flags(Flag_is_macro); |
835 _is_scalar_replaceable = false; | |
835 Node *topnode = C->top(); | 836 Node *topnode = C->top(); |
836 | 837 |
837 init_req( TypeFunc::Control , ctrl ); | 838 init_req( TypeFunc::Control , ctrl ); |
838 init_req( TypeFunc::I_O , abio ); | 839 init_req( TypeFunc::I_O , abio ); |
839 init_req( TypeFunc::Memory , mem ); | 840 init_req( TypeFunc::Memory , mem ); |