Commit e7d89909 authored by Sebastian Hack's avatar Sebastian Hack
Browse files

Fixed two typos

parent 1a309182
...@@ -121,7 +121,7 @@ entity *ia32_create_intrinsic_fkt(ir_type *method, const ir_op *op, ...@@ -121,7 +121,7 @@ entity *ia32_create_intrinsic_fkt(ir_type *method, const ir_op *op,
if (ent && ! *ent) { if (ent && ! *ent) {
#define IDENT(s) new_id_from_chars(s, sizeof(s)-1) #define IDENT(s) new_id_from_chars(s, sizeof(s)-1)
ident *id = mangle(IDENT("L"), get_op_name(op)); ident *id = mangle(IDENT("L"), get_op_ident(op));
*ent = new_entity(get_glob_type(), id, method); *ent = new_entity(get_glob_type(), id, method);
} }
...@@ -132,4 +132,5 @@ entity *ia32_create_intrinsic_fkt(ir_type *method, const ir_op *op, ...@@ -132,4 +132,5 @@ entity *ia32_create_intrinsic_fkt(ir_type *method, const ir_op *op,
elt.i_call.link = NULL; elt.i_call.link = NULL;
ARR_APP1(i_record, intrinsics, elt); ARR_APP1(i_record, intrinsics, elt);
return *ent;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment