Mercurial > hg > graal-jvmci-8
comparison src/share/vm/interpreter/bytecodeInterpreter.cpp @ 1729:13b87063b4d8
6977640: Zero and Shark fixes
Summary: A number of fixes for Zero and Shark.
Reviewed-by: twisti
Contributed-by: Gary Benson <gbenson@redhat.com>
author | twisti |
---|---|
date | Wed, 18 Aug 2010 01:22:16 -0700 |
parents | 126ea7725993 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1728:a62d332029cf | 1729:13b87063b4d8 |
---|---|
419 static int _compiling; // (UseCompiler || CountCompiledCalls) | 419 static int _compiling; // (UseCompiler || CountCompiledCalls) |
420 | 420 |
421 #ifdef ASSERT | 421 #ifdef ASSERT |
422 if (istate->_msg != initialize) { | 422 if (istate->_msg != initialize) { |
423 assert(abs(istate->_stack_base - istate->_stack_limit) == (istate->_method->max_stack() + 1), "bad stack limit"); | 423 assert(abs(istate->_stack_base - istate->_stack_limit) == (istate->_method->max_stack() + 1), "bad stack limit"); |
424 IA32_ONLY(assert(istate->_stack_limit == istate->_thread->last_Java_sp() + 1, "wrong")); | 424 #ifndef SHARK |
425 IA32_ONLY(assert(istate->_stack_limit == istate->_thread->last_Java_sp() + 1, "wrong")); | |
426 #endif // !SHARK | |
425 } | 427 } |
426 // Verify linkages. | 428 // Verify linkages. |
427 interpreterState l = istate; | 429 interpreterState l = istate; |
428 do { | 430 do { |
429 assert(l == l->_self_link, "bad link"); | 431 assert(l == l->_self_link, "bad link"); |