diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-10 17:17:20 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-10 17:17:20 +0000 |
commit | 150315eee8c9f1df3129b2be82d679fcca4335cd (patch) | |
tree | 3d05e19771942fcb867ce8da5bf1c3330d200872 /libjava/prims.cc | |
parent | 5f01faf20c12be8f15e34342c50d959acc6c2485 (diff) | |
download | gcc-150315eee8c9f1df3129b2be82d679fcca4335cd.tar.gz |
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().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113674 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/prims.cc')
-rw-r--r-- | libjava/prims.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/prims.cc b/libjava/prims.cc index e0cdc0ae585..2536ca47e64 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; |