comparison src/share/vm/opto/phaseX.hpp @ 73:a8880a78d355

6259129: (Escape Analysis) scalar replacement for not escaping objects Summary: Use scalar replacement with EA to remove allocations for objects which do not escape the compiled method. Reviewed-by: rasbold, never, jrose
author kvn
date Thu, 20 Mar 2008 13:51:55 -0700
parents a61af66fc99e
children ba764ed4b6f2
comparison
equal deleted inserted replaced
72:f705f25597eb 73:a8880a78d355
437 437
438 // Add users of 'n' to worklist 438 // Add users of 'n' to worklist
439 void add_users_to_worklist0( Node *n ); 439 void add_users_to_worklist0( Node *n );
440 void add_users_to_worklist ( Node *n ); 440 void add_users_to_worklist ( Node *n );
441 441
442 // Replace old node with new one.
443 void replace_node( Node *old, Node *nn ) {
444 add_users_to_worklist(old);
445 hash_delete(old);
446 subsume_node(old, nn);
447 }
448
442 #ifndef PRODUCT 449 #ifndef PRODUCT
443 protected: 450 protected:
444 // Sub-quadratic implementation of VerifyIterativeGVN. 451 // Sub-quadratic implementation of VerifyIterativeGVN.
445 unsigned long _verify_counter; 452 unsigned long _verify_counter;
446 unsigned long _verify_full_passes; 453 unsigned long _verify_full_passes;