projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed include
[libfirm]
/
ir
/
ir
/
irprog_t.h
diff --git
a/ir/ir/irprog_t.h
b/ir/ir/irprog_t.h
index
8b003fb
..
46f2d43
100644
(file)
--- a/
ir/ir/irprog_t.h
+++ b/
ir/ir/irprog_t.h
@@
-80,14
+80,12
@@
__get_glob_type(void) {
static INLINE int
__get_irp_n_irgs(void) {
assert (irp && irp->graphs);
static INLINE int
__get_irp_n_irgs(void) {
assert (irp && irp->graphs);
- /* Strangely the first element of the array is NULL. Why?? */
return (ARR_LEN((irp)->graphs));
}
static INLINE ir_graph *
__get_irp_irg(int pos){
assert (irp && irp->graphs);
return (ARR_LEN((irp)->graphs));
}
static INLINE ir_graph *
__get_irp_irg(int pos){
assert (irp && irp->graphs);
- /* Strangely the first element of the array is NULL. Why?? */
return irp->graphs[pos];
}
return irp->graphs[pos];
}
@@
-95,14
+93,12
@@
__get_irp_irg(int pos){
static INLINE int
__get_irp_n_types (void) {
assert (irp && irp->types);
static INLINE int
__get_irp_n_types (void) {
assert (irp && irp->types);
- /* Strangely the first element of the array is NULL. Why?? */
return (ARR_LEN((irp)->types));
}
static INLINE type *
__get_irp_type(int pos) {
assert (irp && irp->types);
return (ARR_LEN((irp)->types));
}
static INLINE type *
__get_irp_type(int pos) {
assert (irp && irp->types);
- /* Strangely the first element of the array is NULL. Why?? */
/* Don't set the skip_tid result so that no double entries are generated. */
return skip_tid(irp->types[pos]);
}
/* Don't set the skip_tid result so that no double entries are generated. */
return skip_tid(irp->types[pos]);
}