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
4bfbe16a
Commit
4bfbe16a
authored
Mar 06, 2014
by
Christoph Mallon
Browse files
ir: Do not print the irg in panic messages, if it is only available via current_ir_graph.
parent
de01926f
Changes
3
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_common_transform.c
View file @
4bfbe16a
...
...
@@ -307,10 +307,10 @@ static void parse_asm_constraints(constraint_t *const constraint, ident *const c
case
'y'
:
/* we don't support mmx registers yet */
case
'Z'
:
/* not available in 32 bit mode */
case
'e'
:
/* not available in 32 bit mode */
panic
(
"unsupported asm constraint '%c'
found in (%+F)"
,
*
c
,
current_ir_graph
);
panic
(
"unsupported asm constraint '%c'
"
,
*
c
);
default:
panic
(
"unknown asm constraint '%c'
found in (%+F)"
,
*
c
,
current_ir_graph
);
panic
(
"unknown asm constraint '%c'
"
,
*
c
);
}
if
(
new_cls
)
{
...
...
ir/be/sparc/sparc_transform.c
View file @
4bfbe16a
...
...
@@ -307,7 +307,7 @@ static void parse_asm_constraints(constraint_t *const constraint,
}
default:
panic
(
"unknown asm constraint '%c'
found in (%+F)"
,
*
c
,
current_ir_graph
);
panic
(
"unknown asm constraint '%c'
"
,
*
c
);
}
if
(
new_cls
)
{
...
...
ir/opt/opt_confirms.c
View file @
4bfbe16a
...
...
@@ -576,7 +576,6 @@ static tarval *compare_iv_dbg(const interval_t *l_iv, const interval_t *r_iv, ir
if
(
tv
==
tarval_unknown
)
return
tv
;
ir_printf
(
"In %e:
\n
"
,
get_irg_entity
(
current_ir_graph
));
print_iv_cmp
(
l_iv
,
r_iv
,
relation
);
ir_printf
(
" = %T
\n
"
,
tv
);
return
tv
;
...
...
Write
Preview
Markdown
is supported
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