summaryrefslogtreecommitdiff
path: root/libjava/include/java-interp.h
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-07 21:17:30 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-07 21:17:30 +0000
commit3db5a98c3247be0dd8c39aa8801a430567289986 (patch)
treefaba3a37f43974f358ae5a8683da016bc6316c15 /libjava/include/java-interp.h
parent18f5292304101ca5a3825aba0f034f80d5546634 (diff)
downloadgcc-3db5a98c3247be0dd8c39aa8801a430567289986.tar.gz
* jni.cc (add_char): Conditional on INTERPRETER.
(mangled_name): Likewise. (call): Likewise. * include/java-interp.h (class _Jv_MethodBase): Conditional on INTERPRETER. (class _Jv_JNIMethod): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31839 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include/java-interp.h')
-rw-r--r--libjava/include/java-interp.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/libjava/include/java-interp.h b/libjava/include/java-interp.h
index 7022411bb51..8111d40f2a7 100644
--- a/libjava/include/java-interp.h
+++ b/libjava/include/java-interp.h
@@ -14,18 +14,6 @@ details. */
#include <jvm.h>
#include <java-cpool.h>
-// Base class for method representations. Subclasses are interpreted
-// and JNI methods.
-class _Jv_MethodBase
-{
-protected:
- // The class which defined this method.
- _Jv_InterpClass *defining_class;
-
- // The method description.
- _Jv_Method *self;
-};
-
#ifdef INTERPRETER
#pragma interface
@@ -78,6 +66,18 @@ class _Jv_InterpException {
friend class _Jv_InterpMethod;
};
+// Base class for method representations. Subclasses are interpreted
+// and JNI methods.
+class _Jv_MethodBase
+{
+protected:
+ // The class which defined this method.
+ _Jv_InterpClass *defining_class;
+
+ // The method description.
+ _Jv_Method *self;
+};
+
class _Jv_InterpMethod : public _Jv_MethodBase
{
_Jv_ushort max_stack;
@@ -169,8 +169,6 @@ struct _Jv_ResolvedMethod {
ffi_type * arg_types[0];
};
-#endif /* INTERPRETER */
-
class _Jv_JNIMethod : public _Jv_MethodBase
{
// The underlying function. If NULL we have to look for the
@@ -186,4 +184,6 @@ class _Jv_JNIMethod : public _Jv_MethodBase
friend void _Jv_PrepareClass(jclass);
};
+#endif /* INTERPRETER */
+
#endif /* __JAVA_INTERP_H__ */