changeset 1526:daf617c34be6

6953588: hotspot\src\share\vm\interpreter\bytecodes.cpp doesn't compile with VS2010 on AMD64 Reviewed-by: dcubed
author prr
date Wed, 19 May 2010 10:21:41 -0700
parents 9d865fc2f644
children d38f45079fe9
files src/share/vm/interpreter/bytecodes.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/interpreter/bytecodes.cpp	Wed May 12 17:19:41 2010 -0700
+++ b/src/share/vm/interpreter/bytecodes.cpp	Wed May 19 10:21:41 2010 -0700
@@ -26,11 +26,13 @@
 #include "incls/_bytecodes.cpp.incl"
 
 
+#if defined(WIN32) && (defined(_MSC_VER) && (_MSC_VER < 1600))
 // Windows AMD64 Compiler Hangs compiling this file
 // unless optimization is off
 #ifdef _M_AMD64
 #pragma optimize ("", off)
 #endif
+#endif
 
 
 bool            Bytecodes::_is_initialized = false;