deps: V8: extend workaround for MSVC optimizer bug

Builds are starting to fail in CI with V8 7.5 and 7.6.

Refs: https://developercommunity.visualstudio.com/content/problem/512352/compiler-doesnt-finish-142027508.html

PR-URL: https://github.com/nodejs/node/pull/28286
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Michaël Zasso 2019-06-18 08:00:00 +02:00 committed by Refael Ackermann
parent 7146ddd8a0
commit 05b8526a59

View File

@ -297,7 +297,7 @@ Code GenerateBytecodeHandler(Isolate* isolate, int builtin_index,
} // namespace
#if _MSC_VER == 1920
#ifdef _MSC_VER
#pragma optimize( "", off )
#endif
@ -384,7 +384,7 @@ void SetupIsolateDelegate::SetupBuiltinsInternal(Isolate* isolate) {
builtins->MarkInitialized();
}
#if _MSC_VER == 1920
#ifdef _MSC_VER
#pragma optimize( "", on )
#endif