diff options
author | Andrew Haley <aph@redhat.com> | 2004-11-27 12:37:32 +0000 |
---|---|---|
committer | Andrew Haley <aph@redhat.com> | 2004-11-27 12:37:32 +0000 |
commit | 6123f4d6da6fab7d07991b6d8770385016745f93 (patch) | |
tree | 900597a6d50287ab3119dd427bda46b0a85dee9e /libjava/include/jvm.h | |
parent | e47a0d7a893654f507f656195ad1d5201b54a360 (diff) |
2004-11-27 Andrew Haley <aph@redhat.com>
* link.cc (ensure_class_linked): Conditionally compile
_Jv_IsInterpretedClass on INTERPRETER.
(print_class_loaded): Likewise.
(wait_for_state): Likewise.
* include/jvm.h (ROUND): Move to here from include/java-interp.h.
* include/java-interp.h (ROUND): Remove.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@91375 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include/jvm.h')
-rw-r--r-- | libjava/include/jvm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index a3d06e7b09f..ff2c9b1ec87 100644 --- a/libjava/include/jvm.h +++ b/libjava/include/jvm.h @@ -555,4 +555,7 @@ extern void (*_Jv_JVMPI_Notify_THREAD_START) (JVMPI_Event *event); extern void (*_Jv_JVMPI_Notify_THREAD_END) (JVMPI_Event *event); #endif +/* FIXME: this should really be defined in some more generic place */ +#define ROUND(V, A) (((((unsigned) (V))-1) | ((A)-1))+1) + #endif /* __JAVA_JVM_H__ */ |