projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use xmalloc instead of malloc
[libfirm]
/
ir
/
ir
/
irprog.h
diff --git
a/ir/ir/irprog.h
b/ir/ir/irprog.h
index
68a9557
..
5c65985
100644
(file)
--- a/
ir/ir/irprog.h
+++ b/
ir/ir/irprog.h
@@
-131,10
+131,18
@@
int get_irp_n_allirgs(void);
pseudo graphs). Visits first graphs, then pseudo graphs. */
ir_graph *get_irp_allirg(int pos);
pseudo graphs). Visits first graphs, then pseudo graphs. */
ir_graph *get_irp_allirg(int pos);
-
-/** Returns the "global" type of the irp. */
+/**
+ * Returns the "global" type of the irp.
+ * Upon creation this is an empty class type.
+ */
ir_type *get_glob_type(void);
ir_type *get_glob_type(void);
+/**
+ * Returns the "thread local storage" type of the irp.
+ * Upon creation this is an empty struct type.
+ */
+ir_type *get_tls_type(void);
+
/** Adds type to the list of types in irp. */
void add_irp_type(ir_type *typ);
/** Adds type to the list of types in irp. */
void add_irp_type(ir_type *typ);