354 // frame::verify_deopt_original_pc |
354 // frame::verify_deopt_original_pc |
355 // |
355 // |
356 // Verifies the calculated original PC of a deoptimization PC for the |
356 // Verifies the calculated original PC of a deoptimization PC for the |
357 // given unextended SP. The unextended SP might also be the saved SP |
357 // given unextended SP. The unextended SP might also be the saved SP |
358 // for MethodHandle call sites. |
358 // for MethodHandle call sites. |
359 #if ASSERT |
359 #ifdef ASSERT |
360 void frame::verify_deopt_original_pc(nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return) { |
360 void frame::verify_deopt_original_pc(nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return) { |
361 frame fr; |
361 frame fr; |
362 |
362 |
363 // This is ugly but it's better than to change {get,set}_original_pc |
363 // This is ugly but it's better than to change {get,set}_original_pc |
364 // to take an SP value as argument. And it's only a debugging |
364 // to take an SP value as argument. And it's only a debugging |