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
2e0edbcb
Commit
2e0edbcb
authored
Apr 24, 2010
by
Michael Beck
Browse files
C99 feature removed.
[r27436]
parent
1ef7eb66
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/sparc/bearch_sparc.c
View file @
2e0edbcb
/*
* Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
* Copyright (C) 1995-20
1
0 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
...
...
@@ -467,14 +467,14 @@ static const arch_register_t *sparc_abi_prologue(void *self, ir_node **mem,
//ir_type *frame_type = get_irg_frame_type(env->irg);
//frame_alloc_area(frame_type, reserved_stack_size, 1, 1);
(
void
)
reg_map
;
(
void
)
mem
;
(
void
)
stack_bias
;
// alloc min required stack space
// TODO: the min stacksize depends on wether this is a leaf procedure or not
ir_node
*
save
=
new_bd_sparc_Save
(
NULL
,
block
,
sp_proj
,
*
mem
,
SPARC_MIN_STACKSIZE
);
(
void
)
reg_map
;
(
void
)
mem
;
(
void
)
stack_bias
;
*
stack_bias
-=
SPARC_MIN_STACKSIZE
;
sp_proj
=
new_r_Proj
(
save
,
sp
->
reg_class
->
mode
,
pn_sparc_Save_stack
);
*
mem
=
new_r_Proj
(
save
,
mode_M
,
pn_sparc_Save_mem
);
...
...
ir/opt/loop.c
View file @
2e0edbcb
/*
* Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
* Copyright (C) 1995-20
1
0 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
...
...
@@ -2063,11 +2063,9 @@ static unsigned get_unroll_decision(void)
/* Initialize unrolling phase. TODO alloc array here? */
void
*
init_unrolling_phase
(
ir_phase
*
ph
,
const
ir_node
*
n
,
void
*
old
)
{
(
void
)
old
;
ir_node
**
arr
;
unrolling_node_info
*
info
=
XMALLOCZ
(
unrolling_node_info
);
arr
=
NEW_ARR_F
(
ir_node
*
,
unroll_number
-
1
);
ir_node
**
arr
=
NEW_ARR_F
(
ir_node
*
,
unroll_number
-
1
);
(
void
)
old
;
memset
(
info
->
copies
,
0
,
(
unroll_number
-
1
)
*
sizeof
(
ir_node
*
));
info
->
copies
=
arr
;
...
...
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