Allow uses of interface types to verify.
authorPer Bothner <bothner@gcc.gnu.org>
Sat, 14 Nov 1998 17:22:22 +0000 (09:22 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sat, 14 Nov 1998 17:22:22 +0000 (09:22 -0800)
commit46cf461c83489859531d548d57e1751f8c5cb68c
treec372fadfdc48e2a6b988a0d96a60b47f714f4b8d
parentbd8dc16507f210e0d01954e65e5d93061c560d5b
Allow uses of interface types to verify.


Allow uses of interface types to verify.  This is not really
type-safe, but it matches what Sun does, and is OK as long as
there are appropriate run-time checks.
* verify.c (merge_types):  If merging two interface types,
just set the result to java.lang.Object.
* expr.c (pop_type):  Any interface is matches by java.lang.Object.

From-SVN: r23656
gcc/java/expr.c
gcc/java/verify.c