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
b52ac7ae
Commit
b52ac7ae
authored
Aug 16, 2009
by
Matthias Braun
Browse files
fix double typedef of ir_prog
[r26362]
parent
d92c4035
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/libfirm/adt/raw_bitset.h
View file @
b52ac7ae
...
...
@@ -146,11 +146,12 @@ unsigned *rbitset_duplicate_obstack_alloc(struct obstack *obst,
*/
static
inline
int
rbitset_is_empty
(
unsigned
*
bitset
,
unsigned
size
)
{
unsigned
size_bytes
=
BITSET_SIZE_ELEMS
(
size
);
unsigned
n
=
BITSET_SIZE_ELEMS
(
size
);
unsigned
i
;
for
(
i
=
0
;
i
<
size_bytes
;
++
i
)
for
(
i
=
0
;
i
<
n
;
++
i
)
{
if
(
bitset
[
i
]
!=
0
)
return
0
;
}
return
1
;
}
...
...
include/libfirm/irprog.h
View file @
b52ac7ae
...
...
@@ -64,23 +64,6 @@ typedef enum ir_segment_t {
IR_SEGMENT_COUNT
}
ir_segment_t
;
/**
* Data structure that holds central information about a program
* or a module.
* One irp is created by libFirm on construction, so irp should never be NULL.
*
* - main_irg: The ir graph that is the entry point to the program.
* (Anything not reachable from here may be optimized away
* if this irp represents a whole program.
* - irg: List of all ir graphs in the program or module.
* - type: A list containing all types known to the translated program.
* Some types can have several entries in this list (as a result of
* using exchange_types()).
* - glob_type: The unique global type that is owner of all global entities
* of this module.
*/
typedef
struct
ir_prog
ir_prog
;
/**
* A variable pointing to the current irp (program or module).
* This variable should be considered constant. Moreover, one should use get_irp()
...
...
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