hotspot/src/share/vm/c1/c1_CodeStubs.hpp
changeset 15482 470d0b0c09f1
parent 13728 882756847a04
child 16611 6807a703dd6b
--- a/hotspot/src/share/vm/c1/c1_CodeStubs.hpp	Fri Jan 18 05:33:32 2013 -0800
+++ b/hotspot/src/share/vm/c1/c1_CodeStubs.hpp	Wed Jan 23 13:02:39 2013 -0500
@@ -31,6 +31,7 @@
 #include "c1/c1_LIR.hpp"
 #include "c1/c1_Runtime1.hpp"
 #include "utilities/array.hpp"
+#include "utilities/macros.hpp"
 
 class CodeEmitInfo;
 class LIR_Assembler;
@@ -515,7 +516,7 @@
 };
 
 //////////////////////////////////////////////////////////////////////////////////////////
-#ifndef SERIALGC
+#if INCLUDE_ALL_GCS
 
 // Code stubs for Garbage-First barriers.
 class G1PreBarrierStub: public CodeStub {
@@ -608,7 +609,7 @@
 #endif // PRODUCT
 };
 
-#endif // SERIALGC
+#endif // INCLUDE_ALL_GCS
 //////////////////////////////////////////////////////////////////////////////////////////
 
 #endif // SHARE_VM_C1_C1_CODESTUBS_HPP