< prev index next >

src/cpu/x86/vm/stubGenerator_x86_64.cpp

Print this page
rev 4131 : 8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
8015265: revise the fix for 8007037
Reviewed-by: sspitsyn, dholmes, dcubed, coleenp
Contributed-by: jeremymanson@google.com, calvin.cheung@oracle.com

*** 90,100 **** class StubGenerator: public StubCodeGenerator { private: #ifdef PRODUCT ! #define inc_counter_np(counter) (0) #else void inc_counter_np_(int& counter) { // This can destroy rscratch1 if counter is far from the code cache __ incrementl(ExternalAddress((address)&counter)); } --- 90,100 ---- class StubGenerator: public StubCodeGenerator { private: #ifdef PRODUCT ! #define inc_counter_np(counter) ((void)0) #else void inc_counter_np_(int& counter) { // This can destroy rscratch1 if counter is far from the code cache __ incrementl(ExternalAddress((address)&counter)); }
< prev index next >