com php-src: Enable inline reader cache: win32/build/confutils.js

From: Date: Thu, 02 Aug 2018 14:29:59 +0000
Subject: com php-src: Enable inline reader cache: win32/build/confutils.js
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102785@lists.php.net to get a copy of this message
Commit: 309ae357735ea273c76e5ec4a71c3e13facb0258 Author: Anatol Belski <ab@php.net> Thu, 2 Aug 2018 11:12:32 +0200 Parents: 9ad039a180e41c76e8d175ca46a4dda59caf9fab Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=309ae357735ea273c76e5ec4a71c3e13facb0258 Log: Enable inline reader cache Changed paths: M win32/build/confutils.js Diff: diff --git a/win32/build/confutils.js b/win32/build/confutils.js index 2d1a13e..b9cf70b 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -1257,10 +1257,16 @@ function SAPI(sapiname, file_list, makefiletarget, cflags, obj_dir) if (PHP_DEBUG != "yes" && PHP_PGI == "yes") { ADD_FLAG('CFLAGS_' + SAPI, "/GL /O2"); ADD_FLAG('LDFLAGS_' + SAPI, "/LTCG /GENPROFILE"); + if (VCVERS >= 1914) { + ADD_FLAG('LDFLAGS_' + SAPI, "/d2:-FuncCache1"); + } } else if (PHP_DEBUG != "yes" && PHP_PGO != "no") { ADD_FLAG('CFLAGS_' + SAPI, "/GL /O2"); ADD_FLAG('LDFLAGS_' + SAPI, "/LTCG /USEPROFILE"); + if (VCVERS >= 1914) { + ADD_FLAG('LDFLAGS_' + SAPI, "/d2:-FuncCache1"); + } } ldflags += " /PGD:$(PGOPGD_DIR)\\" + makefiletarget.substring(0, makefiletarget.indexOf(".")) + ".pgd"; @@ -3230,6 +3236,10 @@ function toolset_setup_common_cflags() /* This is only in effect for CXX sources, __cplusplus is not defined in C sources. */ ADD_FLAG("CFLAGS", "/Zc:__cplusplus"); } + + if (VCVERS >= 1914) { + ADD_FLAG("CFLAGS", "/d2FuncCache1"); + } } else if (CLANG_TOOLSET) { if (X64) { ADD_FLAG('CFLAGS', '-m64');

« previous php.cvs (#102785) next »