@@ -474,11 +474,11 @@ // If the sender is deoptimized the we must retrieve the address of the handler // since the frame will "magically" show the original pc before the deopt // and we'd undo the deopt. - frame_pcs[0] = deopt_sender.raw_pc(); + frame_pcs[0] = deopt_sender.raw_pc(thread); #ifndef SHARK assert(CodeCache::find_blob_unsafe(frame_pcs[0]) != NULL, "bad pc"); #endif // SHARK