src/share/vm/runtime/registerMap.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 20,29 ****
--- 20,44 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_RUNTIME_REGISTERMAP_HPP
+ #define SHARE_VM_RUNTIME_REGISTERMAP_HPP
+
+ #include "code/vmreg.hpp"
+ #include "utilities/globalDefinitions.hpp"
+ #ifdef TARGET_ARCH_x86
+ # include "register_x86.hpp"
+ #endif
+ #ifdef TARGET_ARCH_sparc
+ # include "register_sparc.hpp"
+ #endif
+ #ifdef TARGET_ARCH_zero
+ # include "register_zero.hpp"
+ #endif
+
class JavaThread;
//
// RegisterMap
//
*** 112,118 ****
void print_on(outputStream* st) const;
void print() const;
// the following contains the definition of pd_xxx methods
! # include "incls/_registerMap_pd.hpp.incl"
};
--- 127,144 ----
void print_on(outputStream* st) const;
void print() const;
// the following contains the definition of pd_xxx methods
! #ifdef TARGET_ARCH_x86
! # include "registerMap_x86.hpp"
! #endif
! #ifdef TARGET_ARCH_sparc
! # include "registerMap_sparc.hpp"
! #endif
! #ifdef TARGET_ARCH_zero
! # include "registerMap_zero.hpp"
! #endif
!
};
+
+ #endif // SHARE_VM_RUNTIME_REGISTERMAP_HPP