6977640: Zero and Shark fixes

A number of fixes for Zero and Shark.

Reviewed-by: twisti
This commit is contained in:
Gary Benson 2010-08-18 01:22:16 -07:00 committed by Christian Thalinger
parent 0f1f7c3b7f
commit a325f5589a
5 changed files with 19 additions and 10 deletions

View file

@ -421,7 +421,9 @@ BytecodeInterpreter::run(interpreterState istate) {
#ifdef ASSERT
if (istate->_msg != initialize) {
assert(abs(istate->_stack_base - istate->_stack_limit) == (istate->_method->max_stack() + 1), "bad stack limit");
IA32_ONLY(assert(istate->_stack_limit == istate->_thread->last_Java_sp() + 1, "wrong"));
#ifndef SHARK
IA32_ONLY(assert(istate->_stack_limit == istate->_thread->last_Java_sp() + 1, "wrong"));
#endif // !SHARK
}
// Verify linkages.
interpreterState l = istate;