* include/jvm.h (_Jv_ThrowNoMemory): Mark as noreturn.

From-SVN: r42694
This commit is contained in:
Tom Tromey 2001-05-29 22:18:41 +00:00 committed by Tom Tromey
parent eb019738e2
commit 70cb702a96
2 changed files with 3 additions and 1 deletions

View 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 */);