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 committed 2019-06-20 07:06:42 +02:00
1 parent 8aeb9cc10f
commit 47366d7cc6
1 file changed
+2 -2
+2 -2
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