Mercurial > hg > truffle
comparison src/gpu/hsail/vm/gpu_hsail.cpp @ 17033:2d6dd2eebd51
Fixed HSAIL deopt
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 02 Sep 2014 21:42:37 -0700 |
parents | bbb987aec58d |
children | f55f2d400797 |
comparison
equal
deleted
inserted
replaced
17032:8f3ece00da4f | 17033:2d6dd2eebd51 |
---|---|
247 // Override the deoptimization action with Action_none until we decide | 247 // Override the deoptimization action with Action_none until we decide |
248 // how to handle the other actions. | 248 // how to handle the other actions. |
249 int myActionReason = Deoptimization::make_trap_request(Deoptimization::trap_request_reason(pdeopt->reason()), Deoptimization::Action_none); | 249 int myActionReason = Deoptimization::make_trap_request(Deoptimization::trap_request_reason(pdeopt->reason()), Deoptimization::Action_none); |
250 javaArgs.push_int(myActionReason); | 250 javaArgs.push_int(myActionReason); |
251 javaArgs.push_oop((oop) NULL); | 251 javaArgs.push_oop((oop) NULL); |
252 javaArgs.push_int(mh->size_of_parameters()); | |
252 if (TraceGPUInteraction) { | 253 if (TraceGPUInteraction) { |
253 tty->print_cr("[HSAIL] Deoptimizing to host for workitem=%d (slot=%d) with deoptId=%d, frame=" INTPTR_FORMAT ", actionAndReason=%d", workitem, k, deoptId, hsailFrame, myActionReason); | 254 tty->print_cr("[HSAIL] Deoptimizing to host for workitem=%d (slot=%d) with deoptId=%d, frame=" INTPTR_FORMAT ", actionAndReason=%d", workitem, k, deoptId, hsailFrame, myActionReason); |
254 // show the $d registers or stack slots containing references | 255 // show the $d registers or stack slots containing references |
255 int maxOopBits = hsailFrame->num_d_regs() + hsailFrame->num_stack_slots(); | 256 int maxOopBits = hsailFrame->num_d_regs() + hsailFrame->num_stack_slots(); |
256 HSAILOopMapHelper oopMapHelper(oop_map_array); | 257 HSAILOopMapHelper oopMapHelper(oop_map_array); |