Commit 682078bb authored by Christoph Mallon's avatar Christoph Mallon
Browse files

all: Simplify x == true by just x.

parent 7d14f068
......@@ -103,9 +103,8 @@ x86_cconv_t *amd64_decide_calling_convention(ir_type *function_type,
bool omit_fp = false;
if (irg != NULL) {
omit_fp = be_options.omit_fp;
if (omit_fp == true) {
if (omit_fp)
irg_walk_graph(irg, check_omit_fp, NULL, &omit_fp);
}
}
mtp_additional_properties mtp
......
......@@ -117,9 +117,8 @@ x86_cconv_t *ia32_decide_calling_convention(ir_type *function_type,
bool omit_fp = false;
if (irg != NULL) {
omit_fp = be_options.omit_fp;
if (omit_fp == true) {
if (omit_fp)
irg_walk_graph(irg, check_omit_fp, NULL, &omit_fp);
}
}
mtp_additional_properties mtp
......
......@@ -175,9 +175,8 @@ calling_convention_t *sparc_decide_calling_convention(ir_type *function_type,
*/
if (get_method_calling_convention(function_type) & cc_compound_ret)
omit_fp = false;
if (omit_fp == true) {
if (omit_fp)
irg_walk_graph(irg, check_omit_fp, NULL, &omit_fp);
}
}
mtp_additional_properties mtp
......
Markdown is supported
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