< prev index next >
src/cpu/x86/vm/stubGenerator_x86_32.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
*** 92,102 ****
class StubGenerator: public StubCodeGenerator {
private:
#ifdef PRODUCT
! #define inc_counter_np(counter) (0)
#else
void inc_counter_np_(int& counter) {
__ incrementl(ExternalAddress((address)&counter));
}
#define inc_counter_np(counter) \
--- 92,102 ----
class StubGenerator: public StubCodeGenerator {
private:
#ifdef PRODUCT
! #define inc_counter_np(counter) ((void)0)
#else
void inc_counter_np_(int& counter) {
__ incrementl(ExternalAddress((address)&counter));
}
#define inc_counter_np(counter) \
< prev index next >