From b5c5e6a94d87eb66d73592e4f58b6087798411d3 Mon Sep 17 00:00:00 2001 From: prr Date: Wed, 19 May 2010 10:21:41 -0700 Subject: [PATCH] 6953588: hotspot\src\share\vm\interpreter\bytecodes.cpp doesn't compile with VS2010 on AMD64 Reviewed-by: dcubed --- src/share/vm/interpreter/bytecodes.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/share/vm/interpreter/bytecodes.cpp b/src/share/vm/interpreter/bytecodes.cpp index cb2a7ecb2..1a270e786 100644 --- a/src/share/vm/interpreter/bytecodes.cpp +++ b/src/share/vm/interpreter/bytecodes.cpp @@ -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; -- GitLab