1.1 --- a/src/share/vm/c1/c1_Defs.hpp Tue Nov 23 15:01:43 2010 -0500 1.2 +++ b/src/share/vm/c1/c1_Defs.hpp Tue Nov 23 13:22:55 2010 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -22,6 +22,20 @@ 1.11 * 1.12 */ 1.13 1.14 +#ifndef SHARE_VM_C1_C1_DEFS_HPP 1.15 +#define SHARE_VM_C1_C1_DEFS_HPP 1.16 + 1.17 +#include "utilities/globalDefinitions.hpp" 1.18 +#ifdef TARGET_ARCH_x86 1.19 +# include "register_x86.hpp" 1.20 +#endif 1.21 +#ifdef TARGET_ARCH_sparc 1.22 +# include "register_sparc.hpp" 1.23 +#endif 1.24 +#ifdef TARGET_ARCH_zero 1.25 +# include "register_zero.hpp" 1.26 +#endif 1.27 + 1.28 // set frame size and return address offset to these values in blobs 1.29 // (if the compiled frame uses ebp as link pointer on IA; otherwise, 1.30 // the frame size must be fixed) 1.31 @@ -30,7 +44,13 @@ 1.32 }; 1.33 1.34 1.35 -# include "incls/_c1_Defs_pd.hpp.incl" 1.36 +#ifdef TARGET_ARCH_x86 1.37 +# include "c1_Defs_x86.hpp" 1.38 +#endif 1.39 +#ifdef TARGET_ARCH_sparc 1.40 +# include "c1_Defs_sparc.hpp" 1.41 +#endif 1.42 + 1.43 1.44 // native word offsets from memory address 1.45 enum { 1.46 @@ -49,3 +69,5 @@ 1.47 enum { 1.48 float_saved_as_double = pd_float_saved_as_double 1.49 }; 1.50 + 1.51 +#endif // SHARE_VM_C1_C1_DEFS_HPP