6743059: Error in spaceDecorator.cpp "optimized" build

Changed the guard on the definition of the method value in HeapWord from ASSERT to not PRODUCT.

Reviewed-by: iveresov, apetrusenko
This commit is contained in:
Jon Masamitsu 2008-09-04 14:49:08 -07:00
parent d9929c525b
commit 6358686351

View file

@ -99,7 +99,7 @@ class HeapWord {
friend class VMStructs;
private:
char* i;
#ifdef ASSERT
#ifndef PRODUCT
public:
char* value() { return i; }
#endif