re GNATS gcj/110 (don't exclude private methods from method table when optimizing)
Tue Dec 14 14:20:16 1999 Per Bothner <per@bothner.com> * class.c (make_class_data): flag_keep_inline_functions to keep private methods in the method array. (This is a fix to the Java PR #110: http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00179.html) From-SVN: r30930
This commit is contained in:
parent
6979065c16
commit
cf69bfbf38
@ -1,3 +1,8 @@
|
||||
Tue Dec 14 14:20:16 1999 Per Bothner <per@bothner.com>
|
||||
|
||||
* class.c (make_class_data): flag_keep_inline_functions to keep
|
||||
private methods in the method array.
|
||||
|
||||
1999-12-15 Anthony Green <green@cygnus.com>
|
||||
|
||||
* check-init.c (check_init): Take into account both types of
|
||||
|
@ -1216,6 +1216,7 @@ make_class_data (type)
|
||||
{
|
||||
tree init;
|
||||
if (METHOD_PRIVATE (method)
|
||||
&& ! flag_keep_inline_functions
|
||||
&& (flag_inline_functions || optimize))
|
||||
continue;
|
||||
init = make_method_value (method);
|
||||
|
Loading…
Reference in New Issue
Block a user