+2014-04-24 Trevor Saunders <tsaunders@mozilla.com>
+
+ * config/sh/sh_treg_combine.c (sh_treg_combine::execute): Take
+ function * argument.
+
2014-04-24 Alan Lawrence <alan.lawrence@arm.com>
* config/aarch64/aarch64.c (aarch64_evpc_tbl): Enable for bigendian.
sh_treg_combine (gcc::context* ctx, bool split_insns, const char* name);
virtual ~sh_treg_combine (void);
virtual bool gate (function *);
- virtual unsigned int execute (void);
+ virtual unsigned int execute (function *);
private:
// Type of ccreg store that is supported.
}
unsigned int
-sh_treg_combine::execute (void)
+sh_treg_combine::execute (function *fun)
{
unsigned int ccr0 = INVALID_REGNUM;
unsigned int ccr1 = INVALID_REGNUM;
// Look for basic blocks that end with a conditional branch and try to
// optimize them.
basic_block bb;
- FOR_EACH_BB_FN (bb, cfun)
+ FOR_EACH_BB_FN (bb, fun)
{
rtx i = BB_END (bb);
if (any_condjump_p (i) && onlyjump_p (i))