builtins directory causes name conflict on Python 3
[WebKit-https.git] / Source / JavaScriptCore / ChangeLog
1 2018-09-14  Mike Gorse  <mgorse@suse.com>
2
3         builtins directory causes name conflict on Python 3
4         https://bugs.webkit.org/show_bug.cgi?id=189552
5
6         Reviewed by Michael Catanzaro.
7
8         * CMakeLists.txt: builtins -> wkbuiltins.
9         * DerivedSources.make: builtins -> wkbuiltins.
10         * Scripts/generate-js-builtins.py: import wkbuiltins, rather than
11           builtins.
12         * Scripts/wkbuiltins/__init__.py: Renamed from Source/JavaScriptCore/Scripts/builtins/__init__.py.
13         * Scripts/wkbuiltins/builtins_generate_combined_header.py: Renamed from Source/JavaScriptCore/Scripts/builtins/builtins_generate_combined_header.py.
14         * Scripts/wkbuiltins/builtins_generate_internals_wrapper_implementation.py: Renamed from Source/JavaScriptCore/Scripts/builtins/builtins_generate_internals_wrapper_implementation.py.
15         * Scripts/wkbuiltins/builtins_generate_separate_header.py: Renamed from Source/JavaScriptCore/Scripts/builtins/builtins_generate_separate_header.py.
16         * Scripts/wkbuiltins/builtins_generate_separate_implementation.py: Renamed from Source/JavaScriptCore/Scripts/builtins/builtins_generate_separate_implementation.py.
17         * Scripts/wkbuiltins/builtins_generate_wrapper_header.py: Renamed from Source/JavaScriptCore/Scripts/builtins/builtins_generate_wrapper_header.py.
18         * Scripts/wkbuiltins/builtins_generate_wrapper_implementation.py: Renamed from Source/JavaScriptCore/Scripts/builtins/builtins_generate_wrapper_implementation.py.
19         * Scripts/wkbuiltins/builtins_generator.py: Renamed from Source/JavaScriptCore/Scripts/builtins/builtins_generator.py.
20         * Scripts/wkbuiltins/builtins_model.py: Renamed from Source/JavaScriptCore/Scripts/builtins/builtins_model.py.
21         * Scripts/wkbuiltins/builtins_templates.py: Renamed from Source/JavaScriptCore/Scripts/builtins/builtins_templates.py.
22         * Scripts/wkbuiltins/wkbuiltins.py: Renamed from Source/JavaScriptCore/Scripts/builtins/builtins.py.
23         * JavaScriptCore.xcodeproj/project.pbxproj: Update for the renaming.
24
25 2018-09-13  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
26
27         [WebAssembly] Inline WasmContext accessor functions
28         https://bugs.webkit.org/show_bug.cgi?id=189416
29
30         Reviewed by Saam Barati.
31
32         WasmContext accessor functions are very small while it resides in the critical path of
33         JS to Wasm function call. This patch makes them inline to improve performance.
34         This change improves a small benchmark (calling JS to Wasm function 1e7 times) from 320ms to 270ms.
35
36         * JavaScriptCore.xcodeproj/project.pbxproj:
37         * Sources.txt:
38         * interpreter/CallFrame.cpp:
39         * jit/AssemblyHelpers.cpp:
40         * wasm/WasmB3IRGenerator.cpp:
41         * wasm/WasmContextInlines.h: Renamed from Source/JavaScriptCore/wasm/WasmContext.cpp.
42         (JSC::Wasm::Context::useFastTLS):
43         (JSC::Wasm::Context::load const):
44         (JSC::Wasm::Context::store):
45         * wasm/WasmMemoryInformation.cpp:
46         * wasm/WasmModuleParser.cpp: Include <wtf/SHA1.h> due to changes of unified source combinations.
47         * wasm/js/JSToWasm.cpp:
48         * wasm/js/WebAssemblyFunction.cpp:
49
50 2018-09-12  David Kilzer  <ddkilzer@apple.com>
51
52         Move JavaScriptCore files to match Xcode project hierarchy
53         <https://webkit.org/b/189574>
54
55         Reviewed by Filip Pizlo.
56
57         * API/JSAPIValueWrapper.cpp: Rename from Source/JavaScriptCore/runtime/JSAPIValueWrapper.cpp.
58         * API/JSAPIValueWrapper.h: Rename from Source/JavaScriptCore/runtime/JSAPIValueWrapper.h.
59         * CMakeLists.txt: Update for new path to
60         generateYarrUnicodePropertyTables.py, hasher.py and
61         JSAPIValueWrapper.h.
62         * DerivedSources.make: Ditto. Add missing dependency on
63         hasher.py captured by CMakeLists.txt.
64         * JavaScriptCore.xcodeproj/project.pbxproj: Update for new file
65         reference paths. Add hasher.py library to project.
66         * Sources.txt: Update for new path to
67         JSAPIValueWrapper.cpp.
68         * runtime/JSImmutableButterfly.h: Add missing includes
69         after changes to Sources.txt and regenerating unified
70         sources.
71         * runtime/RuntimeType.h: Ditto.
72         * yarr/generateYarrUnicodePropertyTables.py: Rename from Source/JavaScriptCore/Scripts/generateYarrUnicodePropertyTables.py.
73         * yarr/hasher.py: Rename from Source/JavaScriptCore/Scripts/hasher.py.
74
75 2018-09-12  David Kilzer  <ddkilzer@apple.com>
76
77         Let Xcode have its way with the JavaScriptCore project
78
79         * JavaScriptCore.xcodeproj/project.pbxproj:
80
81 2018-09-12  Guillaume Emont  <guijemont@igalia.com>
82
83         Add IGNORE_WARNING_.* macros
84         https://bugs.webkit.org/show_bug.cgi?id=188996
85
86         Reviewed by Michael Catanzaro.
87
88         * API/JSCallbackObject.h:
89         * API/tests/testapi.c:
90         * assembler/LinkBuffer.h:
91         (JSC::LinkBuffer::finalizeCodeWithDisassembly):
92         * b3/B3LowerToAir.cpp:
93         * b3/B3Opcode.cpp:
94         * b3/B3Type.h:
95         * b3/B3TypeMap.h:
96         * b3/B3Width.h:
97         * b3/air/AirArg.cpp:
98         * b3/air/AirArg.h:
99         * b3/air/AirCode.h:
100         * bytecode/Opcode.h:
101         (JSC::padOpcodeName):
102         * dfg/DFGSpeculativeJIT.cpp:
103         (JSC::DFG::SpeculativeJIT::speculateNumber):
104         (JSC::DFG::SpeculativeJIT::speculateMisc):
105         * dfg/DFGSpeculativeJIT64.cpp:
106         * ftl/FTLOutput.h:
107         * jit/CCallHelpers.h:
108         (JSC::CCallHelpers::calculatePokeOffset):
109         * llint/LLIntData.cpp:
110         * llint/LLIntSlowPaths.cpp:
111         (JSC::LLInt::slowPathLogF):
112         * runtime/ConfigFile.cpp:
113         (JSC::ConfigFile::canonicalizePaths):
114         * runtime/JSDataViewPrototype.cpp:
115         * runtime/JSGenericTypedArrayViewConstructor.h:
116         * runtime/JSGenericTypedArrayViewPrototype.h:
117         * runtime/Options.cpp:
118         (JSC::Options::setAliasedOption):
119         * tools/CodeProfiling.cpp:
120         * wasm/WasmSections.h:
121         * wasm/generateWasmValidateInlinesHeader.py:
122
123 == Rolled over to ChangeLog-2018-09-11 ==