summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f710ccc)
removed some unneded assert's
[r2638]
+/**
+ * returns the pnc name from an pnc constant
+ */
INLINE const char *get_pnc_string(int pnc) {
return pnc_name_arr[pnc];
}
INLINE const char *get_pnc_string(int pnc) {
return pnc_name_arr[pnc];
}
+/**
+ * Calculates the negated pnc condition.
+ */
int
get_negated_pnc(int pnc) {
switch (pnc) {
int
get_negated_pnc(int pnc) {
switch (pnc) {
int
is_ir_node (const void *thing) {
int
is_ir_node (const void *thing) {
if (get_kind(thing) == k_ir_node)
return 1;
else
if (get_kind(thing) == k_ir_node)
return 1;
else
INLINE opcode
get_irn_opcode (const ir_node *node)
{
INLINE opcode
get_irn_opcode (const ir_node *node)
{
assert (k_ir_node == get_kind(node));
assert (node -> op);
return node->op->code;
assert (k_ir_node == get_kind(node));
assert (node -> op);
return node->op->code;