Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
b874cd72
Commit
b874cd72
authored
Nov 10, 2004
by
Boris Boesler
Browse files
be more helpful if a method does not exist
[r4350]
parent
7f6b16b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/external/read.c
View file @
b874cd72
...
...
@@ -1557,13 +1557,22 @@ void create_abstract_proc_effect(module_t *module, proc_t *proc)
/* @@@ TODO check args types - not in xml yet */
/* create Firm stuff */
create_abstract_firm
(
module
,
proc
,
fent
);
b
re
ak
;
re
turn
;
}
else
{
fent
=
NULL
;
}
}
assert
(
fent
&&
"procedure not found in class"
);
/* fail */
fprintf
(
stderr
,
"method %s not found
\n
No effects generated
\n
Candidates are:
\n
"
,
get_id_str
(
proc
->
proc_ident
));
for
(
i
=
0
;
i
<
num
;
i
++
)
{
fent
=
get_class_member
(
class_typ
,
i
);
fprintf
(
stderr
,
"%s
\n
"
,
get_entity_name
(
fent
));
}
//assert(fent && "procedure not found in class");
}
static
...
...
@@ -1625,6 +1634,9 @@ void create_abstraction(const char *filename)
/*
* $Log$
* Revision 1.14 2004/11/10 14:42:00 boesler
* be more helpful if a method does not exist
*
* Revision 1.13 2004/11/05 14:00:53 liekweg
* added raise
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment