projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8d285c0
)
copy the debug info when craeting a be_Call form a Call
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 24 Mar 2006 18:17:26 +0000
(18:17 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 24 Mar 2006 18:17:26 +0000
(18:17 +0000)
ir/be/beabi.c
patch
|
blob
|
history
diff --git
a/ir/be/beabi.c
b/ir/be/beabi.c
index
61a5e43
..
1466e21
100644
(file)
--- a/
ir/be/beabi.c
+++ b/
ir/be/beabi.c
@@
-536,7
+536,7
@@
static ir_node *adjust_call(be_abi_irg_t *env, ir_node *irn, ir_node *curr_sp)
unspeakable Proj_T from the Call. Therefore, all real argument
Proj numbers must be increased by pn_Call_max
*/
unspeakable Proj_T from the Call. Therefore, all real argument
Proj numbers must be increased by pn_Call_max
*/
- proj += pn_Call_max;
+ proj += pn_Call_max;
set_Proj_proj(res, proj);
obstack_ptr_grow(obst, res);
set_Proj_proj(res, proj);
obstack_ptr_grow(obst, res);
@@
-565,9
+565,11
@@
static ir_node *adjust_call(be_abi_irg_t *env, ir_node *irn, ir_node *curr_sp)
be_Call_set_entity(low_call, get_SymConst_entity(call_ptr));
}
be_Call_set_entity(low_call, get_SymConst_entity(call_ptr));
}
-
else
+ else
low_call = be_new_Call(irg, bl, curr_mem, curr_sp, call_ptr, curr_res_proj + pset_count(caller_save), n_low_args, in);
low_call = be_new_Call(irg, bl, curr_mem, curr_sp, call_ptr, curr_res_proj + pset_count(caller_save), n_low_args, in);
+ set_irn_dbg_info(low_call, get_irn_dbg_info(irn));
+
/*
TODO:
Set the register class of the call address to the same as the stack pointer's.
/*
TODO:
Set the register class of the call address to the same as the stack pointer's.