Mercurial > hg > truffle
diff src/gpu/hsail/vm/gpu_hsail.cpp @ 15161:2c940b1a48d8
Convert InstalledCode from an interface into an abstract class.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 15 Apr 2014 15:01:40 +0200 |
parents | 0e689f20706e |
children | 66e3af78ea96 |
line wrap: on
line diff
--- a/src/gpu/hsail/vm/gpu_hsail.cpp Tue Apr 15 13:27:16 2014 +0200 +++ b/src/gpu/hsail/vm/gpu_hsail.cpp Tue Apr 15 15:01:40 2014 +0200 @@ -137,7 +137,7 @@ jobject donor_threads, jint allocBytesPerWorkitem)) ResourceMark rm; - jlong nmethodValue = HotSpotInstalledCode::codeBlob(kernel_handle); + jlong nmethodValue = InstalledCode::address(kernel_handle); if (nmethodValue == 0) { SharedRuntime::throw_and_post_jvmti_exception(JavaThread::current(), vmSymbols::com_oracle_graal_api_code_InvalidInstalledCodeException(), NULL); }