Commit fffd40dc authored by Michael Beck's avatar Michael Beck
Browse files

fixed new type_or_ent type handling

[r20756]
parent a0b404e0
......@@ -814,11 +814,11 @@ static ir_entity *find_entity_name(const char *name) {
/**
* Search methods for a name.
*/
static void show_by_name(type_or_ent *tore, void *env) {
static void show_by_name(type_or_ent tore, void *env) {
ident *id = (ident *)env;
if (is_entity(tore)) {
ir_entity *ent = (ir_entity *)tore;
if (is_entity(tore.ent)) {
ir_entity *ent = tore.ent;
if (is_method_entity(ent)) {
if (get_entity_ident(ent) == id) {
......
Supports Markdown
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