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
9a1befe1
Commit
9a1befe1
authored
Feb 21, 2006
by
Michael Beck
Browse files
make get_irn_node_nr() 64bit safe
[r7363]
parent
6913c88d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irnode.c
View file @
9a1befe1
...
...
@@ -30,6 +30,7 @@
#include
"iredges_t.h"
#include
"irhooks.h"
#include
"irtools.h"
/* some constants fixing the positions of nodes predecessors
in the in array */
...
...
@@ -465,13 +466,12 @@ void firm_set_irn_section(ir_node *n, struct section *s) {}
/* Outputs a unique number for this node */
long
get_irn_node_nr
(
const
ir_node
*
node
)
{
long
get_irn_node_nr
(
const
ir_node
*
node
)
{
assert
(
node
);
#ifdef DEBUG_libfirm
return
node
->
node_nr
;
#else
return
(
long
)
node
;
return
(
long
)
PTR_TO_INT
(
node
)
;
#endif
}
...
...
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