projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reverted r27368, needed for propagation of changed nodes ...
[libfirm]
/
ir
/
opt
/
opt_confirms.h
diff --git
a/ir/opt/opt_confirms.h
b/ir/opt/opt_confirms.h
index
2db2fdc
..
2afbe7c
100644
(file)
--- a/
ir/opt/opt_confirms.h
+++ b/
ir/opt/opt_confirms.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-32,6
+32,9
@@
#include "firm_types.h"
#include "firm_types.h"
+/** Needed for MSVC to suporess warnings because it doest NOT handle const right. */
+typedef const ir_node *ir_node_cnst_ptr;
+
/**
* Check, if the value of a node is != 0.
*
/**
* Check, if the value of a node is != 0.
*
@@
-42,7
+45,7
@@
* @param confirm if n is confirmed to be != 0, returns
* the the Confirm-node, else NULL
*/
* @param confirm if n is confirmed to be != 0, returns
* the the Confirm-node, else NULL
*/
-int value_not_zero(
ir_node *n, ir_node *
*confirm);
+int value_not_zero(
const ir_node *n, ir_node_cnst_ptr
*confirm);
/**
* Check, if the value of a node cannot represent a NULL pointer.
/**
* Check, if the value of a node cannot represent a NULL pointer.
@@
-57,7
+60,7
@@
int value_not_zero(ir_node *n, ir_node **confirm);
* @param confirm if n is confirmed to be != NULL, returns
* the the Confirm-node, else NULL
*/
* @param confirm if n is confirmed to be != NULL, returns
* the the Confirm-node, else NULL
*/
-int value_not_null(
ir_node *n, ir_node *
*confirm);
+int value_not_null(
const ir_node *n, ir_node_cnst_ptr
*confirm);
/**
* Possible return values of value_classify().
/**
* Possible return values of value_classify().