hotspot/src/cpu/zero/vm/register_zero.hpp
changeset 14294 130e947dfbe6
parent 7397 5b173b4ca846
--- a/hotspot/src/cpu/zero/vm/register_zero.hpp	Fri Oct 26 14:18:57 2012 -0700
+++ b/hotspot/src/cpu/zero/vm/register_zero.hpp	Mon Oct 29 11:08:48 2012 -0700
@@ -114,5 +114,8 @@
 };
 
 CONSTANT_REGISTER_DECLARATION(Register, noreg, (-1));
+#ifndef DONT_USE_REGISTER_DEFINES
+#define noreg ((Register)(noreg_RegisterEnumValue))
+#endif
 
 #endif // CPU_ZERO_VM_REGISTER_ZERO_HPP