Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
9bb022c5
Commit
9bb022c5
authored
Sep 17, 2007
by
Christoph Mallon
Browse files
Remove be_abi_get_start_barrier(). Nobody calls it anymore.
[r15851]
parent
c124481c
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/beabi.c
View file @
9bb022c5
...
...
@@ -90,8 +90,6 @@ struct _be_abi_irg_t {
ir_node
*
init_sp
;
/**< The node representing the stack pointer
at the start of the function. */
ir_node
*
start_barrier
;
/**< The barrier of the start block */
ir_node
*
reg_params
;
/**< The reg params node. */
pmap
*
regs
;
/**< A map of all callee-save and ignore regs to
their Projs to the RegParams node. */
...
...
@@ -1903,7 +1901,7 @@ static void modify_irg(be_abi_irg_t *env)
env
->
init_sp
=
be_new_IncSP
(
sp
,
irg
,
bl
,
env
->
init_sp
,
BE_STACK_FRAME_SIZE_EXPAND
);
be_abi_reg_map_set
(
env
->
regs
,
sp
,
env
->
init_sp
);
env
->
start_barrier
=
create_barrier
(
env
,
bl
,
&
mem
,
env
->
regs
,
0
);
create_barrier
(
env
,
bl
,
&
mem
,
env
->
regs
,
0
);
env
->
init_sp
=
be_abi_reg_map_get
(
env
->
regs
,
sp
);
arch_set_irn_register
(
env
->
birg
->
main_env
->
arch_env
,
env
->
init_sp
,
sp
);
...
...
@@ -2320,11 +2318,6 @@ ir_node *be_abi_get_ignore_irn(be_abi_irg_t *abi, const arch_register_t *reg)
return
pmap_get
(
abi
->
regs
,
(
void
*
)
reg
);
}
ir_node
*
be_abi_get_start_barrier
(
be_abi_irg_t
*
abi
)
{
return
abi
->
start_barrier
;
}
/**
* Returns non-zero if the ABI has omitted the frame pointer in
* the current graph.
...
...
ir/be/beabi.h
View file @
9bb022c5
...
...
@@ -167,7 +167,6 @@ void be_abi_put_ignore_regs(be_abi_irg_t *abi, const arch_register_class_t *cls,
ir_node
*
be_abi_get_callee_save_irn
(
be_abi_irg_t
*
abi
,
const
arch_register_t
*
reg
);
ir_node
*
be_abi_get_ignore_irn
(
be_abi_irg_t
*
abi
,
const
arch_register_t
*
reg
);
ir_node
*
be_abi_get_start_barrier
(
be_abi_irg_t
*
abi
);
#define be_abi_reg_map_get(map, reg) pmap_get((map), (void *) (reg))
#define be_abi_reg_map_set(map, reg, irn) pmap_insert((map), (void *) (reg), (irn))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment