decl.c (init_decl_processing): Add `throws' field to method descriptor.
[gcc.git] / gcc / java / decl.c
index ecfa9aa17bc5722995007c70b97d8b8d33a6e465..21cc3bde359e47ee169fd64407d19047f763b1e3 100644 (file)
@@ -715,6 +715,7 @@ init_decl_processing ()
   PUSH_FIELD (method_type_node, field, "signature", utf8const_ptr_type);
   PUSH_FIELD (method_type_node, field, "accflags", access_flags_type_node);
   PUSH_FIELD (method_type_node, field, "ncode", nativecode_ptr_type_node);
+  PUSH_FIELD (method_type_node, field, "throws", ptr_type_node);
   FINISH_RECORD (method_type_node);
   build_decl (TYPE_DECL, get_identifier ("Method"), method_type_node);