diff options
author | Tom Tromey <tromey@redhat.com> | 2005-03-17 00:18:50 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2005-03-17 00:18:50 +0000 |
commit | f37a936b5693300c762ce969380003e74b5911fd (patch) | |
tree | 1c077bcd3965d1e954aabcae14e7bacf373670a5 /libjava/link.cc | |
parent | 4c7e54712993900d57a3d533e8ad32d9c17fb80c (diff) | |
download | gcc-f37a936b5693300c762ce969380003e74b5911fd.zip gcc-f37a936b5693300c762ce969380003e74b5911fd.tar.gz gcc-f37a936b5693300c762ce969380003e74b5911fd.tar.bz2 |
link.cc (ensure_class_linked): Removed #ifdef.
* link.cc (ensure_class_linked): Removed #ifdef.
(print_class_loaded): Likewise.
(wait_for_state): Likewise.
* java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
* include/jvm.h (_Jv_IsInterpretedClass): Moved from...
* include/java-interp.h: ... here.
From-SVN: r96589
Diffstat (limited to 'libjava/link.cc')
-rw-r--r-- | libjava/link.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libjava/link.cc b/libjava/link.cc index b916bf3..909a7b6 100644 --- a/libjava/link.cc +++ b/libjava/link.cc @@ -1395,9 +1395,7 @@ _Jv_Linker::ensure_class_linked (jclass klass) // a reference to a class we can't access. This can validly // occur in an obscure case involving the InnerClasses // attribute. -#ifdef INTERPRETER if (! _Jv_IsInterpretedClass (klass)) -#endif { // Resolve class constants first, since other constant pool // entries may rely on these. @@ -1652,11 +1650,7 @@ _Jv_Linker::print_class_loaded (jclass klass) // We use a somewhat bogus test for the ABI here. char *abi; -#ifdef INTERPRETER if (_Jv_IsInterpretedClass (klass)) -#else - if (false) -#endif abi = "bytecode"; else if (klass->state == JV_STATE_PRELOADING) abi = "BC-compiled"; @@ -1693,10 +1687,7 @@ _Jv_Linker::wait_for_state (jclass klass, int state) if (gcj::verbose_class_flag && (klass->state == JV_STATE_COMPILED || klass->state == JV_STATE_PRELOADING) -#ifdef INTERPRETER - && ! _Jv_IsInterpretedClass (klass) -#endif - ) + && ! _Jv_IsInterpretedClass (klass)) print_class_loaded (klass); try |