projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c054122
)
- use regparam for private functions, instead of fastcall
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 1 Apr 2009 00:31:07 +0000
(
00:31
+0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 1 Apr 2009 00:31:07 +0000
(
00:31
+0000)
[r25757]
ir/be/ia32/bearch_ia32.c
patch
|
blob
|
history
diff --git
a/ir/be/ia32/bearch_ia32.c
b/ir/be/ia32/bearch_ia32.c
index
6d87198
..
ea26d2d
100644
(file)
--- a/
ir/be/ia32/bearch_ia32.c
+++ b/
ir/be/ia32/bearch_ia32.c
@@
-1846,8
+1846,8
@@
static void ia32_get_call_abi(const void *self, ir_type *method_type,
} else {
if (get_method_additional_properties(method_type) & mtp_property_private &&
ia32_cg_config.optimize_cc) {
} else {
if (get_method_additional_properties(method_type) & mtp_property_private &&
ia32_cg_config.optimize_cc) {
- /* set the
calling conventions to register parameter
*/
- cc = (cc & ~(cc_bits|cc_this_call)) | cc_reg_param;
+ /* set the
regparam calling conventions (allowing up to 3)
*/
+ cc = (cc & ~(cc_bits|cc_this_call)) | cc_reg_param
| 3
;
}
}
}
}