summaryrefslogtreecommitdiffstats
path: root/gcc/java/class.c
diff options
context:
space:
mode:
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-14 22:25:37 +0000
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-14 22:25:37 +0000
commit6635b728566e9cde87e979c97d03b1d83dea8e70 (patch)
tree406c783779fbdae42d6db8a01075136139481ecc /gcc/java/class.c
parent88667609df36a743f638e92d68f5eb15c0d5f504 (diff)
downloadppe42-gcc-6635b728566e9cde87e979c97d03b1d83dea8e70.tar.gz
ppe42-gcc-6635b728566e9cde87e979c97d03b1d83dea8e70.zip
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) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30930 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 77e7fce0833..66941bd4967 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -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);
OpenPOWER on IntegriCloud