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
358e2aef
Commit
358e2aef
authored
Aug 26, 2006
by
Adam Szalkowski
Browse files
get frame from irg instead from spill (the spill could be a PhiM!)
parent
39e27d1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/bearch_ia32.c
View file @
358e2aef
...
...
@@ -724,11 +724,12 @@ static void ia32_perform_memory_operand(const void *self, ir_node *irn, ir_node
set_ia32_op_type
(
irn
,
ia32_AddrModeS
);
set_ia32_am_flavour
(
irn
,
ia32_B
);
set_ia32_ls_mode
(
irn
,
get_irn_mode
(
get_irn_n
(
irn
,
i
)));
//TODO this will fail, if spill is a PhiM (give PhiMs entities?)
set_ia32_frame_ent
(
irn
,
be_get_frame_entity
(
spill
));
set_ia32_use_frame
(
irn
);
set_ia32_got_reload
(
irn
);
set_irn_n
(
irn
,
0
,
be_
get_
Spill
_frame
(
spill
));
set_irn_n
(
irn
,
0
,
get_
irg
_frame
(
get_irn_irg
(
irn
)
));
set_irn_n
(
irn
,
4
,
spill
);
/*
...
...
Write
Preview
Supports
Markdown
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