projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
valueset: Remove the unused link field.
[libfirm]
/
ir
/
lower
/
lower_builtins.c
diff --git
a/ir/lower/lower_builtins.c
b/ir/lower/lower_builtins.c
index
134a05c
..
381ea97
100644
(file)
--- a/
ir/lower/lower_builtins.c
+++ b/
ir/lower/lower_builtins.c
@@
-99,7
+99,7
@@
static void replace_with_call(ir_node *node)
snprintf(buf, sizeof(buf), "__%s%s2", name, gcc_machmode);
id = new_id_from_str(buf);
snprintf(buf, sizeof(buf), "__%s%s2", name, gcc_machmode);
id = new_id_from_str(buf);
- entity = pmap_get(entities, id);
+ entity = pmap_get(
ir_entity,
entities, id);
if (entity == NULL) {
entity = create_compilerlib_entity(id, mtp);
pmap_insert(entities, id, entity);
if (entity == NULL) {
entity = create_compilerlib_entity(id, mtp);
pmap_insert(entities, id, entity);
@@
-114,7
+114,7
@@
static void replace_with_call(ir_node *node)
turn_into_tuple(node, 2);
set_irn_n(node, pn_Builtin_M, call_mem);
turn_into_tuple(node, 2);
set_irn_n(node, pn_Builtin_M, call_mem);
- set_irn_n(node, pn_Builtin_
1_result
, call_res);
+ set_irn_n(node, pn_Builtin_
max+1
, call_res);
}
static void lower_builtin(ir_node *node, void *env)
}
static void lower_builtin(ir_node *node, void *env)