Commit 02b3afb7 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

cc_fixed is dead, all hail stickyness_sticky!

[r21309]
parent 111b1d34
......@@ -1976,7 +1976,6 @@ typedef enum {
cc_frame_on_caller_stk = 0x20000000, /**< The method did not allocate an own stack frame, instead the
caller must reserve size on its own stack. */
cc_fpreg_param = 0x40000000, /**< Transmit floating point parameters in registers, else the stack is used. */
cc_fixed = (int)0x80000000, /**< The calling convention must not be changed later on */
cc_bits = (0xFF << 24)/**< The calling convention bits. */
} calling_convention;
......
......@@ -1877,8 +1877,7 @@ static void ia32_get_call_abi(const void *self, ir_type *method_type,
cc = cc_cdecl_set;
} else {
cc = get_method_calling_convention(method_type);
if (!(cc & cc_fixed) &&
get_method_additional_properties(method_type) & mtp_property_private &&
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_reg_param;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment