+2014-09-02 Trevor Saunders <tsaunders@mozilla.com>
+
+ * cfgexpand.c (label_rtx_for_bb): Change type to
+ hash_map<basic_block, rtx_code_label *> *.
+ (expand_gimple_basic_block): Adjust.
+ (pass_expand::execute): Likewise.
+
2014-09-02 Trevor Saunders <tsaunders@mozilla.com>
* asan.c, cfgexpand.c, config/alpha/alpha.md, config/arm/arm.c,
/* Maps the blocks that do not contain tree labels to rtx labels. */
-static hash_map<basic_block, rtx> *lab_rtx_for_bb;
+static hash_map<basic_block, rtx_code_label *> *lab_rtx_for_bb;
/* Returns the label_rtx expression for a label starting basic block BB. */
if (bb->flags & BB_RTL)
return block_label (bb);
- rtx *elt = lab_rtx_for_bb->get (bb);
+ rtx_code_label **elt = lab_rtx_for_bb->get (bb);
if (elt)
return *elt;
stmt = NULL;
}
- rtx *elt = lab_rtx_for_bb->get (bb);
+ rtx_code_label **elt = lab_rtx_for_bb->get (bb);
if (stmt || elt)
{
FOR_EACH_EDGE (e, ei, ENTRY_BLOCK_PTR_FOR_FN (fun)->succs)
e->flags &= ~EDGE_EXECUTABLE;
- lab_rtx_for_bb = new hash_map<basic_block, rtx>;
+ lab_rtx_for_bb = new hash_map<basic_block, rtx_code_label *>;
FOR_BB_BETWEEN (bb, init_block->next_bb, EXIT_BLOCK_PTR_FOR_FN (fun),
next_bb)
bb = expand_gimple_basic_block (bb, var_ret_seq != NULL_RTX);