--- trunk/Source/JavaScriptCore/DerivedSources.make 2019-02-18 09:12:48 UTC (rev 241659) +++ trunk/Source/JavaScriptCore/DerivedSources.make 2019-02-18 10:20:28 UTC (rev 241660) @@ -356,3 +356,10 @@ all : \ $(OBJECT_LUT_HEADERS) \ # + +.PHONY : BytecodeCacheVersion.h + +BytecodeCacheVersion.h: + echo "#define JSC_BYTECODE_CACHE_VERSION $(shell date '+%s')" > BytecodeCacheVersion.h + +all : BytecodeCacheVersion.h BytecodeCacheVersion.h has no dependencies, so it's always updated with the current date when the Derived Sources build phase runs. CachedTypes.cpp includes BytecodeCacheVersion.h.