Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/shark/sharkInliner.cpp Fri Jan 11 16:47:23 2013 -0800 +++ b/src/share/vm/shark/sharkInliner.cpp Fri Jan 11 16:47:23 2013 -0800 @@ -725,7 +725,7 @@ // Push the result if necessary if (is_get) { bool result_pushed = false; - if (field->is_constant()) { + if (field->is_constant() && field->is_static()) { SharkConstant *sc = SharkConstant::for_field(iter()); if (sc->is_loaded()) { push(sc->is_nonzero());