comparison gcc/ira-lives.c @ 19:58ad6c70ea60

update gcc from 4.4.0 to 4.4.1.
author kent@firefly.cr.ie.u-ryukyu.ac.jp
date Thu, 24 Sep 2009 13:21:57 +0900
parents a06113de4d67
children 855418dad1a3
comparison
equal deleted inserted replaced
18:33936f7f2835 19:58ad6c70ea60
780 && ira_class_hard_regs_num[cl] != 0 780 && ira_class_hard_regs_num[cl] != 0
781 && (ira_class_hard_reg_index[cover_class] 781 && (ira_class_hard_reg_index[cover_class]
782 [ira_class_hard_regs[cl][0]]) >= 0 782 [ira_class_hard_regs[cl][0]]) >= 0
783 && reg_class_size[cl] <= (unsigned) CLASS_MAX_NREGS (cl, mode)) 783 && reg_class_size[cl] <= (unsigned) CLASS_MAX_NREGS (cl, mode))
784 { 784 {
785 /* ??? FREQ */ 785 cost
786 cost = freq * (in_p 786 = (freq
787 ? ira_register_move_cost[mode][cover_class][cl] 787 * (in_p
788 : ira_register_move_cost[mode][cl][cover_class]); 788 ? ira_get_register_move_cost (mode, cover_class, cl)
789 : ira_get_register_move_cost (mode, cl, cover_class)));
789 ira_allocate_and_set_costs 790 ira_allocate_and_set_costs
790 (&ALLOCNO_CONFLICT_HARD_REG_COSTS (operand_a), cover_class, 0); 791 (&ALLOCNO_CONFLICT_HARD_REG_COSTS (operand_a), cover_class, 0);
791 ALLOCNO_CONFLICT_HARD_REG_COSTS (operand_a) 792 ALLOCNO_CONFLICT_HARD_REG_COSTS (operand_a)
792 [ira_class_hard_reg_index 793 [ira_class_hard_reg_index
793 [cover_class][ira_class_hard_regs[cl][0]]] 794 [cover_class][ira_class_hard_regs[cl][0]]]