# HG changeset patch # User prr # Date 1274289701 25200 # Node ID d4101ea993e50b82be3906e0df4754551ac5f823 # Parent b5dab6a313fdff4c043250e4d9c8f66fd624d27e 6953588: hotspot\src\share\vm\interpreter\bytecodes.cpp doesn't compile with VS2010 on AMD64 Reviewed-by: dcubed diff -r b5dab6a313fd -r d4101ea993e5 hotspot/src/share/vm/interpreter/bytecodes.cpp --- a/hotspot/src/share/vm/interpreter/bytecodes.cpp Wed Jul 05 17:11:37 2017 +0200 +++ b/hotspot/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;