projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify test case.
[libfirm]
/
ir
/
be
/
beabi.c
diff --git
a/ir/be/beabi.c
b/ir/be/beabi.c
index
f5219e0
..
6123524
100644
(file)
--- a/
ir/be/beabi.c
+++ b/
ir/be/beabi.c
@@
-23,9
+23,7
@@
* @author Sebastian Hack, Michael Beck
* @version $Id$
*/
* @author Sebastian Hack, Michael Beck
* @version $Id$
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
#include "obst.h"
#include "offset.h"
#include "obst.h"
#include "offset.h"
@@
-172,7
+170,7
@@
static be_abi_call_arg_t *get_or_set_call_arg(be_abi_call_t *call, int is_res, i
* @param is_res true for call results, false for call arguments
* @param pos position of the argument
*/
* @param is_res true for call results, false for call arguments
* @param pos position of the argument
*/
-static
INLINE
be_abi_call_arg_t *get_call_arg(be_abi_call_t *call, int is_res, int pos)
+static
inline
be_abi_call_arg_t *get_call_arg(be_abi_call_t *call, int is_res, int pos)
{
return get_or_set_call_arg(call, is_res, pos, 0);
}
{
return get_or_set_call_arg(call, is_res, pos, 0);
}
@@
-383,7
+381,7
@@
static void stack_layout_dump(FILE *file, be_stack_layout_t *frame)
* Returns non-zero if the call argument at given position
* is transfered on the stack.
*/
* Returns non-zero if the call argument at given position
* is transfered on the stack.
*/
-static
INLINE
int is_on_stack(be_abi_call_t *call, int pos)
+static
inline
int is_on_stack(be_abi_call_t *call, int pos)
{
be_abi_call_arg_t *arg = get_call_arg(call, 0, pos);
return arg && !arg->in_reg;
{
be_abi_call_arg_t *arg = get_call_arg(call, 0, pos);
return arg && !arg->in_reg;