projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce flip-flopping normalisations
[libfirm]
/
ir
/
ir
/
irgraph_t.h
diff --git
a/ir/ir/irgraph_t.h
b/ir/ir/irgraph_t.h
index
6e393ef
..
b431f06
100644
(file)
--- a/
ir/ir/irgraph_t.h
+++ b/
ir/ir/irgraph_t.h
@@
-93,7
+93,7
@@
struct obstack *get_irg_obstack(const ir_graph *irg);
* @param irg the IR graph
* @param n the IR node
*/
* @param irg the IR graph
* @param n the IR node
*/
-int node_is_in_irgs_storage(
ir_graph *irg,
ir_node *n);
+int node_is_in_irgs_storage(
const ir_graph *irg, const
ir_node *n);
/*-------------------------------------------------------------------*/
/* inline functions for graphs */
/*-------------------------------------------------------------------*/
/* inline functions for graphs */
@@
-447,7
+447,7
@@
static inline void irg_kill_node(ir_graph *irg, ir_node *n)
* @return The node with that index or NULL, if there is no node with that index.
* @note The node you got might be dead.
*/
* @return The node with that index or NULL, if there is no node with that index.
* @note The node you got might be dead.
*/
-static inline ir_node *_get_idx_irn(ir_graph *irg, unsigned idx)
+static inline ir_node *_get_idx_irn(
const
ir_graph *irg, unsigned idx)
{
assert(idx < (unsigned) ARR_LEN(irg->idx_irn_map));
return irg->idx_irn_map[idx];
{
assert(idx < (unsigned) ARR_LEN(irg->idx_irn_map));
return irg->idx_irn_map[idx];