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
df6b9d58
Commit
df6b9d58
authored
Aug 18, 2005
by
Michael Beck
Browse files
removed definition of old type_visited flag
restored type_visited() function declaration [r6456]
parent
bb951a84
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/tr/type.h
View file @
df6b9d58
...
...
@@ -307,7 +307,7 @@ unsigned long get_type_visited(const type *tp);
void
set_type_visited
(
type
*
tp
,
unsigned
long
num
);
/* Sets visited field in type to type_visited. */
void
mark_type_visited
(
type
*
tp
);
/* @@@ name clash!!
int type_visited(const type *tp);
*/
int
type_visited
(
const
type
*
tp
);
int
type_not_visited
(
const
type
*
tp
);
/** Returns the associated link field of a type. */
...
...
@@ -318,15 +318,15 @@ void set_type_link(type *tp, void *l);
/**
* Visited flag to traverse the type information.
*
* Increase this flag by one before traversing the type information.
* Mark type nodes as visited by set_type_visited(type, type_visited).
* Check whether node was already visited by comparing get_type_visited(type)
* and type_visited.
* Increase this flag by one before traversing the type information
* using inc_master_type_visited().
* Mark type nodes as visited by mark_type_visited(type).
* Check whether node was already visited by type_visited(type)
* and type_not_visited(type).
* Or use the function to walk all types.
*
* @see typewalk
*/
extern
unsigned
long
type_visited
;
void
set_master_type_visited
(
unsigned
long
val
);
unsigned
long
get_master_type_visited
(
void
);
void
inc_master_type_visited
(
void
);
...
...
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