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