aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/jvm.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-05-29 22:18:41 +0000
committerTom Tromey <tromey@gcc.gnu.org>2001-05-29 22:18:41 +0000
commit70cb702a96adaa2c3b412019a432bee53932b6b1 (patch)
tree337445d91a18620123f6a4fe282f189dee46cc87 /libjava/include/jvm.h
parenteb019738e2fc8c00673b7e3798c7ffe54cae3168 (diff)
downloadgcc-70cb702a96adaa2c3b412019a432bee53932b6b1.zip
gcc-70cb702a96adaa2c3b412019a432bee53932b6b1.tar.gz
gcc-70cb702a96adaa2c3b412019a432bee53932b6b1.tar.bz2
* include/jvm.h (_Jv_ThrowNoMemory): Mark as noreturn.
From-SVN: r42694
Diffstat (limited to 'libjava/include/jvm.h')
-rw-r--r--libjava/include/jvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h
index 9088df1..8ee5978 100644
--- a/libjava/include/jvm.h
+++ b/libjava/include/jvm.h
@@ -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 */);