[JSC] Drop direct references to Intl constructors by rewriting Intl JS builtins in C++
[WebKit-https.git] / Source / JavaScriptCore / DerivedSources.make
1 # Copyright (C) 2006, 2007, 2008, 2009, 2011, 2013, 2015 Apple Inc. All rights reserved.
2 #
3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions
5 # are met:
6 #
7 # 1.  Redistributions of source code must retain the above copyright
8 #     notice, this list of conditions and the following disclaimer.
9 # 2.  Redistributions in binary form must reproduce the above copyright
10 #     notice, this list of conditions and the following disclaimer in the
11 #     documentation and/or other materials provided with the distribution.
12 # 3.  Neither the name of Apple Inc. ("Apple") nor the names of
13 #     its contributors may be used to endorse or promote products derived
14 #     from this software without specific prior written permission.
15 #
16 # THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
17 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 # DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
20 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
27 VPATH = \
28     $(JavaScriptCore) \
29     $(JavaScriptCore)/parser \
30     $(JavaScriptCore)/runtime \
31     $(JavaScriptCore)/interpreter \
32     $(JavaScriptCore)/jit \
33     $(JavaScriptCore)/builtins \
34     $(JavaScriptCore)/wasm/js \
35 #
36
37 PYTHON = python
38 PERL = perl
39 RUBY = ruby
40
41 JavaScriptCore_SCRIPTS_DIR = $(JavaScriptCore)/Scripts
42
43 ifeq ($(OS),Windows_NT)
44     DELETE = cmd //C del
45 else
46     DELETE = rm -f
47 endif
48
49 # --------
50
51 .PHONY : all
52 all : \
53     udis86_itab.h \
54     InjectedScriptSource.h \
55     IntlCanonicalizeLanguage.h \
56     JSCBuiltins.h \
57     Lexer.lut.h \
58     KeywordLookup.h \
59     RegExpJitTables.h \
60     UnicodePatternTables.h \
61     yarr/YarrCanonicalizeUnicode.cpp \
62     WasmOps.h \
63     WasmValidateInlines.h \
64     WasmB3IRGeneratorInlines.h \
65 #
66
67 # JavaScript builtins.
68
69 BUILTINS_GENERATOR_SCRIPTS = \
70     $(JavaScriptCore_SCRIPTS_DIR)/wkbuiltins/__init__.py \
71     $(JavaScriptCore_SCRIPTS_DIR)/wkbuiltins/wkbuiltins.py \
72     $(JavaScriptCore_SCRIPTS_DIR)/wkbuiltins/builtins_generator.py \
73     $(JavaScriptCore_SCRIPTS_DIR)/wkbuiltins/builtins_model.py \
74     $(JavaScriptCore_SCRIPTS_DIR)/wkbuiltins/builtins_templates.py \
75     $(JavaScriptCore_SCRIPTS_DIR)/wkbuiltins/builtins_generate_combined_header.py \
76     $(JavaScriptCore_SCRIPTS_DIR)/wkbuiltins/builtins_generate_combined_implementation.py \
77     $(JavaScriptCore_SCRIPTS_DIR)/wkbuiltins/builtins_generate_separate_header.py \
78     $(JavaScriptCore_SCRIPTS_DIR)/wkbuiltins/builtins_generate_separate_implementation.py \
79     ${JavaScriptCore_SCRIPTS_DIR}/wkbuiltins/builtins_generate_wrapper_header.py \
80     ${JavaScriptCore_SCRIPTS_DIR}/wkbuiltins/builtins_generate_wrapper_implementation.py \
81     ${JavaScriptCore_SCRIPTS_DIR}/wkbuiltins/builtins_generate_internals_wrapper_header.py \
82     ${JavaScriptCore_SCRIPTS_DIR}/wkbuiltins/builtins_generate_internals_wrapper_implementation.py \
83     $(JavaScriptCore_SCRIPTS_DIR)/generate-js-builtins.py \
84     $(JavaScriptCore_SCRIPTS_DIR)/lazywriter.py \
85 #
86
87 JavaScriptCore_BUILTINS_SOURCES = \
88     $(JavaScriptCore)/builtins/AsyncFromSyncIteratorPrototype.js \
89     $(JavaScriptCore)/builtins/ArrayConstructor.js \
90     $(JavaScriptCore)/builtins/ArrayIteratorPrototype.js \
91     $(JavaScriptCore)/builtins/ArrayPrototype.js \
92     $(JavaScriptCore)/builtins/AsyncIteratorPrototype.js \
93     $(JavaScriptCore)/builtins/AsyncFunctionPrototype.js \
94     $(JavaScriptCore)/builtins/AsyncGeneratorPrototype.js \
95     $(JavaScriptCore)/builtins/DatePrototype.js \
96     $(JavaScriptCore)/builtins/FunctionPrototype.js \
97     $(JavaScriptCore)/builtins/GeneratorPrototype.js \
98     $(JavaScriptCore)/builtins/GlobalObject.js \
99     $(JavaScriptCore)/builtins/GlobalOperations.js \
100     $(JavaScriptCore)/builtins/InspectorInstrumentationObject.js \
101     $(JavaScriptCore)/builtins/InternalPromiseConstructor.js \
102     $(JavaScriptCore)/builtins/IteratorHelpers.js \
103     $(JavaScriptCore)/builtins/IteratorPrototype.js \
104     $(JavaScriptCore)/builtins/MapIteratorPrototype.js \
105     $(JavaScriptCore)/builtins/MapPrototype.js \
106     $(JavaScriptCore)/builtins/ModuleLoader.js \
107     $(JavaScriptCore)/builtins/NumberConstructor.js \
108     $(JavaScriptCore)/builtins/ObjectConstructor.js \
109     $(JavaScriptCore)/builtins/PromiseConstructor.js \
110     $(JavaScriptCore)/builtins/PromiseOperations.js \
111     $(JavaScriptCore)/builtins/PromisePrototype.js \
112     $(JavaScriptCore)/builtins/ReflectObject.js \
113     $(JavaScriptCore)/builtins/RegExpPrototype.js \
114     $(JavaScriptCore)/builtins/SetIteratorPrototype.js \
115     $(JavaScriptCore)/builtins/SetPrototype.js \
116     $(JavaScriptCore)/builtins/StringConstructor.js \
117     $(JavaScriptCore)/builtins/StringIteratorPrototype.js \
118     $(JavaScriptCore)/builtins/StringPrototype.js \
119     $(JavaScriptCore)/builtins/TypedArrayConstructor.js \
120     $(JavaScriptCore)/builtins/TypedArrayPrototype.js \
121     $(JavaScriptCore)/builtins/WebAssemblyPrototype.js \
122 #
123
124 # The combined output file depends on the contents of builtins and generator scripts, so
125 # adding, modifying, or removing builtins or scripts will trigger regeneration of files.
126
127 JavaScriptCore_BUILTINS_DEPENDENCIES_LIST : $(JavaScriptCore_SCRIPTS_DIR)/UpdateContents.py DerivedSources.make
128         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/UpdateContents.py '$(JavaScriptCore_BUILTINS_SOURCES) $(BUILTINS_GENERATOR_SCRIPTS)' $@
129
130 JSCBuiltins.h: $(BUILTINS_GENERATOR_SCRIPTS) $(JavaScriptCore_BUILTINS_SOURCES) JavaScriptCore_BUILTINS_DEPENDENCIES_LIST
131         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/generate-js-builtins.py --combined --output-directory . --framework JavaScriptCore $(JavaScriptCore_BUILTINS_SOURCES)
132
133 # Perfect hash lookup tables for JavaScript classes.
134
135 OBJECT_LUT_HEADERS = \
136     AsyncFromSyncIteratorPrototype.lut.h \
137     ArrayConstructor.lut.h \
138     ArrayIteratorPrototype.lut.h \
139     AsyncGeneratorPrototype.lut.h \
140     BigIntConstructor.lut.h \
141     BigIntPrototype.lut.h \
142     BooleanPrototype.lut.h \
143     DateConstructor.lut.h \
144     DatePrototype.lut.h \
145     ErrorPrototype.lut.h \
146     GeneratorPrototype.lut.h \
147     InspectorInstrumentationObject.lut.h \
148     IntlCollatorConstructor.lut.h \
149     IntlCollatorPrototype.lut.h \
150     IntlDateTimeFormatConstructor.lut.h \
151     IntlDateTimeFormatPrototype.lut.h \
152     IntlNumberFormatConstructor.lut.h \
153     IntlNumberFormatPrototype.lut.h \
154     IntlObject.lut.h \
155     IntlPluralRulesConstructor.lut.h \
156     IntlPluralRulesPrototype.lut.h \
157     JSDataViewPrototype.lut.h \
158     JSGlobalObject.lut.h \
159     JSInternalPromiseConstructor.lut.h \
160     JSModuleLoader.lut.h \
161     JSONObject.lut.h \
162     JSPromiseConstructor.lut.h \
163     JSPromisePrototype.lut.h \
164     MapPrototype.lut.h \
165     NumberConstructor.lut.h \
166     NumberPrototype.lut.h \
167     ObjectConstructor.lut.h \
168     ReflectObject.lut.h \
169     RegExpConstructor.lut.h \
170     SetPrototype.lut.h \
171     StringConstructor.lut.h \
172     StringIteratorPrototype.lut.h \
173     StringPrototype.lut.h \
174     SymbolConstructor.lut.h \
175     SymbolPrototype.lut.h \
176     WebAssemblyCompileErrorConstructor.lut.h \
177     WebAssemblyCompileErrorPrototype.lut.h \
178     WebAssemblyInstanceConstructor.lut.h \
179     WebAssemblyInstancePrototype.lut.h \
180     WebAssemblyLinkErrorConstructor.lut.h \
181     WebAssemblyLinkErrorPrototype.lut.h \
182     WebAssemblyMemoryConstructor.lut.h \
183     WebAssemblyMemoryPrototype.lut.h \
184     WebAssemblyModuleConstructor.lut.h \
185     WebAssemblyModulePrototype.lut.h \
186     WebAssemblyPrototype.lut.h \
187     WebAssemblyRuntimeErrorConstructor.lut.h \
188     WebAssemblyRuntimeErrorPrototype.lut.h \
189     WebAssemblyTableConstructor.lut.h \
190     WebAssemblyTablePrototype.lut.h \
191 #
192
193 $(OBJECT_LUT_HEADERS): %.lut.h : %.cpp $(JavaScriptCore)/create_hash_table
194         $(PERL) $(JavaScriptCore)/create_hash_table $< > $@
195
196 Lexer.lut.h: Keywords.table $(JavaScriptCore)/create_hash_table
197         $(PERL) $(JavaScriptCore)/create_hash_table $< > $@
198
199 # character tables for Yarr
200
201 RegExpJitTables.h: yarr/create_regex_tables
202         $(PYTHON) $^ > $@
203
204 KeywordLookup.h: KeywordLookupGenerator.py Keywords.table
205         $(PYTHON) $^ > $@
206
207 # udis86 instruction tables
208
209 udis86_itab.h: $(JavaScriptCore)/disassembler/udis86/ud_itab.py $(JavaScriptCore)/disassembler/udis86/optable.xml
210         $(PYTHON) $(JavaScriptCore)/disassembler/udis86/ud_itab.py $(JavaScriptCore)/disassembler/udis86/optable.xml .
211
212 # Bytecode files
213
214 BYTECODE_FILES = \
215     Bytecodes.h \
216     BytecodeIndices.h \
217     BytecodeStructs.h \
218     InitBytecodes.asm \
219 #
220 BYTECODE_FILES_PATTERNS = $(subst .,%,$(BYTECODE_FILES))
221
222 all : $(BYTECODE_FILES)
223
224 $(BYTECODE_FILES_PATTERNS): $(wildcard $(JavaScriptCore)/generator/*.rb) $(JavaScriptCore)/bytecode/BytecodeList.rb
225         $(RUBY) $(JavaScriptCore)/generator/main.rb $(JavaScriptCore)/bytecode/BytecodeList.rb --bytecode_structs_h BytecodeStructs.h --init_bytecodes_asm InitBytecodes.asm --bytecodes_h Bytecodes.h --bytecode_indices_h BytecodeIndices.h
226
227 # Inspector interfaces
228
229 INSPECTOR_DOMAINS := \
230     $(JavaScriptCore)/inspector/protocol/ApplicationCache.json \
231     $(JavaScriptCore)/inspector/protocol/Audit.json \
232     $(JavaScriptCore)/inspector/protocol/CSS.json \
233     $(JavaScriptCore)/inspector/protocol/Canvas.json \
234     $(JavaScriptCore)/inspector/protocol/Console.json \
235     $(JavaScriptCore)/inspector/protocol/DOM.json \
236     $(JavaScriptCore)/inspector/protocol/DOMDebugger.json \
237     $(JavaScriptCore)/inspector/protocol/DOMStorage.json \
238     $(JavaScriptCore)/inspector/protocol/Database.json \
239     $(JavaScriptCore)/inspector/protocol/Debugger.json \
240     $(JavaScriptCore)/inspector/protocol/GenericTypes.json \
241     $(JavaScriptCore)/inspector/protocol/Heap.json \
242     $(JavaScriptCore)/inspector/protocol/Inspector.json \
243     $(JavaScriptCore)/inspector/protocol/LayerTree.json \
244     $(JavaScriptCore)/inspector/protocol/Network.json \
245     $(JavaScriptCore)/inspector/protocol/Page.json \
246     $(JavaScriptCore)/inspector/protocol/Recording.json \
247     $(JavaScriptCore)/inspector/protocol/Runtime.json \
248     $(JavaScriptCore)/inspector/protocol/ScriptProfiler.json \
249     $(JavaScriptCore)/inspector/protocol/Security.json \
250     $(JavaScriptCore)/inspector/protocol/Target.json \
251     $(JavaScriptCore)/inspector/protocol/Timeline.json \
252     $(JavaScriptCore)/inspector/protocol/Worker.json \
253 #
254
255 ifeq ($(findstring ENABLE_INDEXED_DATABASE,$(FEATURE_DEFINES)), ENABLE_INDEXED_DATABASE)
256     INSPECTOR_DOMAINS := $(INSPECTOR_DOMAINS) $(JavaScriptCore)/inspector/protocol/IndexedDB.json
257 endif
258
259 ifeq ($(findstring ENABLE_RESOURCE_USAGE,$(FEATURE_DEFINES)), ENABLE_RESOURCE_USAGE)
260     INSPECTOR_DOMAINS := $(INSPECTOR_DOMAINS) $(JavaScriptCore)/inspector/protocol/CPUProfiler.json
261     INSPECTOR_DOMAINS := $(INSPECTOR_DOMAINS) $(JavaScriptCore)/inspector/protocol/Memory.json
262 endif
263
264 ifeq ($(findstring ENABLE_SERVICE_WORKER,$(FEATURE_DEFINES)), ENABLE_SERVICE_WORKER)
265     INSPECTOR_DOMAINS := $(INSPECTOR_DOMAINS) $(JavaScriptCore)/inspector/protocol/ServiceWorker.json
266 endif
267
268 INSPECTOR_GENERATOR_SCRIPTS = \
269         $(JavaScriptCore)/inspector/scripts/codegen/__init__.py \
270         $(JavaScriptCore)/inspector/scripts/codegen/cpp_generator_templates.py \
271         $(JavaScriptCore)/inspector/scripts/codegen/cpp_generator.py \
272         $(JavaScriptCore)/inspector/scripts/codegen/generate_cpp_backend_dispatcher_header.py \
273         $(JavaScriptCore)/inspector/scripts/codegen/generate_cpp_backend_dispatcher_implementation.py \
274         $(JavaScriptCore)/inspector/scripts/codegen/generate_cpp_frontend_dispatcher_header.py \
275         $(JavaScriptCore)/inspector/scripts/codegen/generate_cpp_frontend_dispatcher_implementation.py \
276         $(JavaScriptCore)/inspector/scripts/codegen/generate_cpp_protocol_types_header.py \
277         $(JavaScriptCore)/inspector/scripts/codegen/generate_cpp_protocol_types_implementation.py \
278         $(JavaScriptCore)/inspector/scripts/codegen/generate_js_backend_commands.py \
279         $(JavaScriptCore)/inspector/scripts/codegen/generator_templates.py \
280         $(JavaScriptCore)/inspector/scripts/codegen/generator.py \
281         $(JavaScriptCore)/inspector/scripts/codegen/models.py \
282         $(JavaScriptCore)/inspector/scripts/generate-inspector-protocol-bindings.py \
283         $(JavaScriptCore_SCRIPTS_DIR)/generate-combined-inspector-json.py \
284 #
285
286 # TODO: Is there some way to not hardcode this? Can we get it from
287 # generate-inspector-protocol-bindings.py and ./CombinedDomains.json?
288 INSPECTOR_DISPATCHER_FILES = \
289     inspector/InspectorAlternateBackendDispatchers.h \
290     inspector/InspectorBackendCommands.js \
291     inspector/InspectorBackendDispatchers.cpp \
292     inspector/InspectorBackendDispatchers.h \
293     inspector/InspectorFrontendDispatchers.cpp \
294     inspector/InspectorFrontendDispatchers.h \
295     inspector/InspectorProtocolObjects.cpp \
296     inspector/InspectorProtocolObjects.h \
297 #
298 INSPECTOR_DISPATCHER_FILES_PATTERNS = $(subst .,%,$(INSPECTOR_DISPATCHER_FILES))
299
300 all : $(INSPECTOR_DISPATCHER_FILES)
301
302 # The combined JSON file depends on the actual set of domains and their file contents, so that
303 # adding, modifying, or removing domains will trigger regeneration of inspector files.
304
305 .PHONY: force
306 EnabledInspectorDomains : $(JavaScriptCore_SCRIPTS_DIR)/UpdateContents.py force
307         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/UpdateContents.py '$(INSPECTOR_DOMAINS)' $@
308
309 CombinedDomains.json : $(JavaScriptCore_SCRIPTS_DIR)/generate-combined-inspector-json.py $(INSPECTOR_DOMAINS) EnabledInspectorDomains
310         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/generate-combined-inspector-json.py $(INSPECTOR_DOMAINS) > ./CombinedDomains.json
311
312 # Inspector Backend Dispatchers, Frontend Dispatchers, Type Builders
313 $(INSPECTOR_DISPATCHER_FILES_PATTERNS) : CombinedDomains.json $(INSPECTOR_GENERATOR_SCRIPTS)
314         $(PYTHON) $(JavaScriptCore)/inspector/scripts/generate-inspector-protocol-bindings.py --framework JavaScriptCore --outputDir inspector ./CombinedDomains.json
315
316 InjectedScriptSource.h : inspector/InjectedScriptSource.js $(JavaScriptCore_SCRIPTS_DIR)/jsmin.py $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl
317         echo "//# sourceURL=__InjectedScript_InjectedScriptSource.js" > ./InjectedScriptSource.min.js
318         $(PYTHON) $(JavaScriptCore_SCRIPTS_DIR)/jsmin.py < $(JavaScriptCore)/inspector/InjectedScriptSource.js >> ./InjectedScriptSource.min.js
319         $(PERL) $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl InjectedScriptSource_js ./InjectedScriptSource.min.js InjectedScriptSource.h
320         $(DELETE) InjectedScriptSource.min.js
321
322 AIR_OPCODE_FILES = \
323     AirOpcode.h \
324     AirOpcodeUtils.h \
325     AirOpcodeGenerated.h \
326 #
327 AIR_OPCODE_FILES_PATTERNS = $(subst .,%,$(AIR_OPCODE_FILES))
328
329 all : $(AIR_OPCODE_FILES)
330
331 $(AIR_OPCODE_FILES_PATTERNS) : $(JavaScriptCore)/b3/air/opcode_generator.rb $(JavaScriptCore)/b3/air/AirOpcode.opcodes
332         $(RUBY) $^
333
334 UnicodePatternTables.h: $(JavaScriptCore)/yarr/generateYarrUnicodePropertyTables.py $(JavaScriptCore)/yarr/hasher.py $(JavaScriptCore)/ucd/DerivedBinaryProperties.txt $(JavaScriptCore)/ucd/DerivedCoreProperties.txt $(JavaScriptCore)/ucd/DerivedNormalizationProps.txt $(JavaScriptCore)/ucd/PropList.txt $(JavaScriptCore)/ucd/PropertyAliases.txt $(JavaScriptCore)/ucd/PropertyValueAliases.txt $(JavaScriptCore)/ucd/ScriptExtensions.txt $(JavaScriptCore)/ucd/Scripts.txt $(JavaScriptCore)/ucd/UnicodeData.txt $(JavaScriptCore)/ucd/emoji-data.txt
335         $(PYTHON) $(JavaScriptCore)/yarr/generateYarrUnicodePropertyTables.py $(JavaScriptCore)/ucd ./UnicodePatternTables.h
336
337 yarr/YarrCanonicalizeUnicode.cpp: $(JavaScriptCore)/yarr/generateYarrCanonicalizeUnicode $(JavaScriptCore)/ucd/CaseFolding.txt
338         $(PYTHON) $(JavaScriptCore)/yarr/generateYarrCanonicalizeUnicode $(JavaScriptCore)/ucd/CaseFolding.txt ./yarr/YarrCanonicalizeUnicode.cpp
339
340 IntlCanonicalizeLanguage.h: $(JavaScriptCore)/Scripts/generateIntlCanonicalizeLanguage.py $(JavaScriptCore)/ucd/language-subtag-registry.txt
341         $(PYTHON) $(JavaScriptCore)/Scripts/generateIntlCanonicalizeLanguage.py $(JavaScriptCore)/ucd/language-subtag-registry.txt ./IntlCanonicalizeLanguage.h
342
343 WasmOps.h: $(JavaScriptCore)/wasm/generateWasmOpsHeader.py $(JavaScriptCore)/wasm/generateWasm.py $(JavaScriptCore)/wasm/wasm.json
344         $(PYTHON) $(JavaScriptCore)/wasm/generateWasmOpsHeader.py $(JavaScriptCore)/wasm/wasm.json ./WasmOps.h
345
346 WasmValidateInlines.h: $(JavaScriptCore)/wasm/generateWasmValidateInlinesHeader.py $(JavaScriptCore)/wasm/generateWasm.py $(JavaScriptCore)/wasm/wasm.json
347         $(PYTHON) $(JavaScriptCore)/wasm/generateWasmValidateInlinesHeader.py $(JavaScriptCore)/wasm/wasm.json ./WasmValidateInlines.h
348
349 WasmB3IRGeneratorInlines.h: $(JavaScriptCore)/wasm/generateWasmB3IRGeneratorInlinesHeader.py $(JavaScriptCore)/wasm/generateWasm.py $(JavaScriptCore)/wasm/wasm.json
350         $(PYTHON) $(JavaScriptCore)/wasm/generateWasmB3IRGeneratorInlinesHeader.py $(JavaScriptCore)/wasm/wasm.json ./WasmB3IRGeneratorInlines.h
351
352 # Dynamically-defined targets are listed below. Static targets belong up top.
353
354 all : \
355     $(OBJECT_LUT_HEADERS) \
356 #
357
358 .PHONY : BytecodeCacheVersion.h
359
360 BytecodeCacheVersion.h:
361         echo "#define JSC_BYTECODE_CACHE_VERSION $(shell date '+%s')" > BytecodeCacheVersion.h
362
363 all : BytecodeCacheVersion.h