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
2ef223ef
Commit
2ef223ef
authored
Mar 20, 2014
by
Matthias Braun
Browse files
make gdb_node_helper() argument const
parent
89434abb
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/libfirm/irnode.h
View file @
2ef223ef
...
@@ -552,7 +552,7 @@ FIRM_API dbg_info *get_irn_dbg_info(const ir_node *n);
...
@@ -552,7 +552,7 @@ FIRM_API dbg_info *get_irn_dbg_info(const ir_node *n);
/**
/**
* Returns a descriptive name of a node (containing type+number)
* Returns a descriptive name of a node (containing type+number)
*/
*/
FIRM_API
const
char
*
gdb_node_helper
(
void
*
firm_object
);
FIRM_API
const
char
*
gdb_node_helper
(
const
void
*
firm_object
);
/**
/**
* @addtogroup Switch
* @addtogroup Switch
...
...
ir/ir/irnode.c
View file @
2ef223ef
...
@@ -1032,7 +1032,7 @@ dbg_info *(get_irn_dbg_info)(const ir_node *n)
...
@@ -1032,7 +1032,7 @@ dbg_info *(get_irn_dbg_info)(const ir_node *n)
/**
/**
* A gdb helper function to print firm objects.
* A gdb helper function to print firm objects.
*/
*/
const
char
*
gdb_node_helper
(
void
*
firm_object
)
const
char
*
gdb_node_helper
(
const
void
*
firm_object
)
{
{
static
char
buf
[
1024
];
static
char
buf
[
1024
];
ir_snprintf
(
buf
,
sizeof
(
buf
),
"%+F"
,
firm_object
);
ir_snprintf
(
buf
,
sizeof
(
buf
),
"%+F"
,
firm_object
);
...
...
Write
Preview
Supports
Markdown
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