Mercurial > hg > truffle
diff src/share/vm/prims/jvmtiImpl.hpp @ 1983:c760f78e0a53
7003125: precompiled.hpp is included when precompiled headers are not used
Summary: Added an ifndef DONT_USE_PRECOMPILED_HEADER to precompiled.hpp. Set up DONT_USE_PRECOMPILED_HEADER when compiling with Sun Studio or when the user specifies USE_PRECOMPILED_HEADER=0. Fixed broken include dependencies.
Reviewed-by: coleenp, kvn
author | stefank |
---|---|
date | Wed, 01 Dec 2010 15:04:06 +0100 |
parents | f95d63e2154a |
children | 09b4dd4f152b |
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiImpl.hpp Thu Dec 02 14:00:03 2010 -0500 +++ b/src/share/vm/prims/jvmtiImpl.hpp Wed Dec 01 15:04:06 2010 +0100 @@ -26,6 +26,7 @@ #define SHARE_VM_PRIMS_JVMTIIMPL_HPP #ifndef JVMTI_KERNEL + #include "classfile/systemDictionary.hpp" #include "jvmtifiles/jvmti.h" #include "oops/objArrayOop.hpp" @@ -35,7 +36,6 @@ #include "prims/jvmtiUtil.hpp" #include "runtime/stackValueCollection.hpp" #include "runtime/vm_operations.hpp" -#endif // // Forward Declarations @@ -417,6 +417,8 @@ static void print(); }; +#endif // !JVMTI_KERNEL + // Utility macro that checks for NULL pointers: #define NULL_CHECK(X, Y) if ((X) == NULL) { return (Y); }