Mercurial > hg > graal-jvmci-8
diff src/share/vm/oops/methodOop.cpp @ 1692:d2ede61b7a12
6976186: integrate Shark HotSpot changes
Summary: Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure.
Reviewed-by: kvn, twisti
Contributed-by: Gary Benson <gbenson@redhat.com>
author | twisti |
---|---|
date | Wed, 11 Aug 2010 05:51:21 -0700 |
parents | e0ba4e04c839 |
children | d5d065957597 |
line wrap: on
line diff
--- a/src/share/vm/oops/methodOop.cpp Wed Aug 11 01:17:27 2010 -0700 +++ b/src/share/vm/oops/methodOop.cpp Wed Aug 11 05:51:21 2010 -0700 @@ -751,10 +751,14 @@ } OrderAccess::storestore(); +#ifdef SHARK + mh->_from_interpreted_entry = code->instructions_begin(); +#else mh->_from_compiled_entry = code->verified_entry_point(); OrderAccess::storestore(); // Instantly compiled code can execute. mh->_from_interpreted_entry = mh->get_i2c_entry(); +#endif // SHARK }