aboutsummaryrefslogtreecommitdiff
path: root/libjava/prims.cc
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2006-05-10 17:17:20 +0000
committerAndrew Haley <aph@gcc.gnu.org>2006-05-10 17:17:20 +0000
commitfdafd4613f5e867d6065b9951803279a6d40fa56 (patch)
tree3d05e19771942fcb867ce8da5bf1c3330d200872 /libjava/prims.cc
parent05a79eb6bce1cb36c961e6d5421a960395a7a0a1 (diff)
downloadgcc-fdafd4613f5e867d6065b9951803279a6d40fa56.zip
gcc-fdafd4613f5e867d6065b9951803279a6d40fa56.tar.gz
gcc-fdafd4613f5e867d6065b9951803279a6d40fa56.tar.bz2
prims.cc (_Jv_soleIndirectCompiledEngine): New.
2006-05-09 Andrew Haley <aph@redhat.com> * prims.cc (_Jv_soleIndirectCompiledEngine): New. * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields): Remove body. (_Jv_CompiledEngine::allocate_field_initializers): New. (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize allocate_field_initializers. (class _Jv_IndirectCompiledClass): New. (struct _Jv_IndirectCompiledEngine): New. * java/lang/Class.h: (IndirectCompiledEngine): New. * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set engine to _Jv_soleIndirectCompiledEngine * link.cc (ensure_fields_laid_out): Call engine->allocate_field_initializers(). From-SVN: r113674
Diffstat (limited to 'libjava/prims.cc')
-rw-r--r--libjava/prims.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/prims.cc b/libjava/prims.cc
index e0cdc0a..2536ca4 100644
--- a/libjava/prims.cc
+++ b/libjava/prims.cc
@@ -74,6 +74,9 @@ details. */
// Execution engine for compiled code.
_Jv_CompiledEngine _Jv_soleCompiledEngine;
+// Execution engine for code compiled with -findirect-classes
+_Jv_IndirectCompiledEngine _Jv_soleIndirectCompiledEngine;
+
// We allocate a single OutOfMemoryError exception which we keep
// around for use if we run out of memory.
static java::lang::OutOfMemoryError *no_memory;