From: Christian Würdig Date: Wed, 13 Dec 2006 15:00:08 +0000 (+0000) Subject: beautified a function X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=193c0cf4972ae37af1f029dba7fd26763f28c2d4;p=libfirm beautified a function --- diff --git a/ir/be/benode.c b/ir/be/benode.c index 3afb9c14e..cb5f4590c 100644 --- a/ir/be/benode.c +++ b/ir/be/benode.c @@ -1086,13 +1086,7 @@ static void be_node_set_frame_offset(const void *self, ir_node *irn, int offset) static int be_node_get_sp_bias(const void *self, const ir_node *irn) { - int result = 0; - - if(be_is_IncSP(irn)) { - result = be_get_IncSP_offset(irn); - } - - return result; + return be_is_IncSP(irn) ? be_get_IncSP_offset(irn) : 0; } /*