* include/jvm.h (_Jv_ThrowNoMemory): Mark as noreturn.
authorTom Tromey <tromey@redhat.com>
Tue, 29 May 2001 22:18:41 +0000 (22:18 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 29 May 2001 22:18:41 +0000 (22:18 +0000)
From-SVN: r42694

libjava/ChangeLog
libjava/include/jvm.h

index ba8529ee0e8855e4cf5e46960c056af7c67b5256..9113e23e8d52b96169f46d54408470bbad8cd658 100644 (file)
@@ -1,5 +1,7 @@
 2001-05-29  Tom Tromey  <tromey@redhat.com>
 
+       * include/jvm.h (_Jv_ThrowNoMemory): Mark as noreturn.
+
        * configure: Rebuilt.
        * configure.in: Only add multilib support code if we just rebuilt
        top-level Makefile.
index 9088df1a414b198ec4738a3c11cd16898681df10..8ee59786e5129ffc4dbd118735a160a2d87af488 100644 (file)
@@ -115,7 +115,7 @@ void *_Jv_AllocArray (jsize size, jclass cl) __attribute__((__malloc__));
 /* Allocate space that is known to be pointer-free.  */
 void *_Jv_AllocBytes (jsize size) __attribute__((__malloc__));
 /* Explicitly throw an out-of-memory exception.        */
-void _Jv_ThrowNoMemory();
+void _Jv_ThrowNoMemory() __attribute__((__noreturn__));
 /* Allocate an object with a single pointer.  The first word is reserved
    for the GC, and the second word is the traced pointer.  */
 void *_Jv_AllocTraceOne (jsize size /* incl. reserved slot */);