comparison src/cpu/x86/vm/frame_x86.cpp @ 8721:47bc9800972c

8006498: #if <symbol> is wrong in the code. Summary: ASSERT and other symbols used incorrectly with #if are supposed to be defined or not. Reviewed-by: dholmes, mikael
author jprovino
date Wed, 06 Mar 2013 13:46:55 -0500
parents ec2eddfed950
children b9a918201d47 f2110083203d
comparison
equal deleted inserted replaced
8720:fad90b102190 8721:47bc9800972c
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