Skip to content
Snippets Groups Projects
  • Jakub Jelinek's avatar
    1692ae7e
    rtl.h (locator_eq): New decl. · 1692ae7e
    Jakub Jelinek authored
    	* rtl.h (locator_eq): New decl.
    	* cfglayout.c (locator_scope): New function.
    	(insn_scope): Use it.
    	(locator_eq): New function.
    	(fixup_reorder_chain): Search for last insn in src bb
    	that has locator set or first insn in dest bb.  Use
    	locator_eq instead of == to compare locators.
    	* cfgrtl.c (cfg_layout_merge_blocks): Likewise.
    	* cfgcleanup.c (try_forward_edges): Use locator_eq instead of
    	== to compare locators.
    
    From-SVN: r141009
    1692ae7e
    History
    rtl.h (locator_eq): New decl.
    Jakub Jelinek authored
    	* rtl.h (locator_eq): New decl.
    	* cfglayout.c (locator_scope): New function.
    	(insn_scope): Use it.
    	(locator_eq): New function.
    	(fixup_reorder_chain): Search for last insn in src bb
    	that has locator set or first insn in dest bb.  Use
    	locator_eq instead of == to compare locators.
    	* cfgrtl.c (cfg_layout_merge_blocks): Likewise.
    	* cfgcleanup.c (try_forward_edges): Use locator_eq instead of
    	== to compare locators.
    
    From-SVN: r141009