comparison src/share/vm/opto/lcm.cpp @ 9596:825cee2cd7a6

8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux. Reviewed-by: stuefe, coleenp, roland
author goetz
date Thu, 22 Oct 2015 13:07:10 -0400
parents 10e79692c25e
children a20807e48002
comparison
equal deleted inserted replaced
61:f2279dd310ab 62:5668c7e44f98
804 MachProjNode *proj = new MachProjNode( mcall, r_cnt+1, RegMask::Empty, MachProjNode::fat_proj ); 804 MachProjNode *proj = new MachProjNode( mcall, r_cnt+1, RegMask::Empty, MachProjNode::fat_proj );
805 map_node_to_block(proj, block); 805 map_node_to_block(proj, block);
806 block->insert_node(proj, node_cnt++); 806 block->insert_node(proj, node_cnt++);
807 807
808 // Select the right register save policy. 808 // Select the right register save policy.
809 const char * save_policy; 809 const char *save_policy = NULL;
810 switch (op) { 810 switch (op) {
811 case Op_CallRuntime: 811 case Op_CallRuntime:
812 case Op_CallLeaf: 812 case Op_CallLeaf:
813 case Op_CallLeafNoFP: 813 case Op_CallLeafNoFP:
814 // Calling C code so use C calling convention 814 // Calling C code so use C calling convention