comparison src/share/vm/graal/graalCompilerToGPU.cpp @ 11291:4a6b03a16808

Fix PTX test to prevent crash; trivial code cleanup
author bharadwaj
date Mon, 12 Aug 2013 13:12:14 -0400
parents 1cd1f8ff70a1
children 001c41b01d13
comparison
equal deleted inserted replaced
11290:686d6d99352c 11291:4a6b03a16808
88 jca.set_alternative_target(nm); 88 jca.set_alternative_target(nm);
89 89
90 // start value is the kernel 90 // start value is the kernel
91 jlong startValue = HotSpotInstalledCode::start(hotspotInstalledCode); 91 jlong startValue = HotSpotInstalledCode::start(hotspotInstalledCode);
92 92
93 // JavaCalls::call(&result, mh, &jca, CHECK_NULL);
94 // tty->print_cr("executeExternalMethodVarargs: start: %x", (address)startValue);
95
96 if (!gpu::execute_kernel((address)startValue, &jca)) { 93 if (!gpu::execute_kernel((address)startValue, &jca)) {
97 return NULL; 94 return NULL;
98 } 95 }
99 96
100 if (jap.get_ret_type() == T_VOID) { 97 if (jap.get_ret_type() == T_VOID) {