comparison src/share/vm/shark/sharkInliner.cpp @ 7601:606eada1bf86

8005820: Shark: enable JSR292 support Reviewed-by: twisti Contributed-by: Roman Kennke <rkennke@redhat.com>
author twisti
date Fri, 11 Jan 2013 16:47:23 -0800
parents f95d63e2154a
children de6a9e811145
comparison
equal deleted inserted replaced
7600:c095a7f289aa 7601:606eada1bf86
723 } 723 }
724 724
725 // Push the result if necessary 725 // Push the result if necessary
726 if (is_get) { 726 if (is_get) {
727 bool result_pushed = false; 727 bool result_pushed = false;
728 if (field->is_constant()) { 728 if (field->is_constant() && field->is_static()) {
729 SharkConstant *sc = SharkConstant::for_field(iter()); 729 SharkConstant *sc = SharkConstant::for_field(iter());
730 if (sc->is_loaded()) { 730 if (sc->is_loaded()) {
731 push(sc->is_nonzero()); 731 push(sc->is_nonzero());
732 result_pushed = true; 732 result_pushed = true;
733 } 733 }