diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-29 22:18:41 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-29 22:18:41 +0000 |
commit | 227fba75f713153d2b5183302e91db382c057eee (patch) | |
tree | 337445d91a18620123f6a4fe282f189dee46cc87 /libjava | |
parent | 38e8a8c63b128f956d38296aac1522bf873533d7 (diff) |
* include/jvm.h (_Jv_ThrowNoMemory): Mark as noreturn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42694 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 2 | ||||
-rw-r--r-- | libjava/include/jvm.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index ba8529ee0e8..9113e23e8d5 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -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. diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index 9088df1a414..8ee59786e51 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 */); |