Title: [213692] trunk/Source
Revision
213692
Author
[email protected]
Date
2017-03-09 16:57:06 -0800 (Thu, 09 Mar 2017)

Log Message

WebAssembly: Enable fast memory for WK2
https://bugs.webkit.org/show_bug.cgi?id=169437

Reviewed by Tim Horton.

Source/_javascript_Core:

* _javascript_Core.xcodeproj/project.pbxproj:

Source/WebKit2:

I forgot to do this when I enabled implemented fast memory
for wasm.

* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::initializeWebProcess):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (213691 => 213692)


--- trunk/Source/_javascript_Core/ChangeLog	2017-03-10 00:53:48 UTC (rev 213691)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-03-10 00:57:06 UTC (rev 213692)
@@ -1,3 +1,12 @@
+2017-03-09  Keith Miller  <[email protected]>
+
+        WebAssembly: Enable fast memory for WK2
+        https://bugs.webkit.org/show_bug.cgi?id=169437
+
+        Reviewed by Tim Horton.
+
+        * _javascript_Core.xcodeproj/project.pbxproj:
+
 2017-03-09  Matt Baker  <[email protected]>
 
         Web Inspector: Add XHR breakpoints UI

Modified: trunk/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj (213691 => 213692)


--- trunk/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj	2017-03-10 00:53:48 UTC (rev 213691)
+++ trunk/Source/_javascript_Core/_javascript_Core.xcodeproj/project.pbxproj	2017-03-10 00:57:06 UTC (rev 213692)
@@ -1325,7 +1325,7 @@
 		5370B4F51BF26202005C40FC /* AdaptiveInferredPropertyValueWatchpointBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5370B4F31BF25EA2005C40FC /* AdaptiveInferredPropertyValueWatchpointBase.cpp */; };
 		5370B4F61BF26205005C40FC /* AdaptiveInferredPropertyValueWatchpointBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 5370B4F41BF25EA2005C40FC /* AdaptiveInferredPropertyValueWatchpointBase.h */; };
 		5381B9371E60E9660090F794 /* WasmFaultSignalHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5381B9361E60E9660090F794 /* WasmFaultSignalHandler.cpp */; };
-		5381B9391E60E97D0090F794 /* WasmFaultSignalHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = 5381B9381E60E97D0090F794 /* WasmFaultSignalHandler.h */; };
+		5381B9391E60E97D0090F794 /* WasmFaultSignalHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = 5381B9381E60E97D0090F794 /* WasmFaultSignalHandler.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		5381B9401E65DFEB0090F794 /* JSWebAssemblyCodeBlock.h in Headers */ = {isa = PBXBuildFile; fileRef = 5381B93F1E65DFEB0090F794 /* JSWebAssemblyCodeBlock.h */; };
 		5383AA301E65E8A100A532FC /* JSWebAssemblyCodeBlock.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5383AA2F1E65E8A100A532FC /* JSWebAssemblyCodeBlock.cpp */; };
 		53917E7B1B7906FA000EBD33 /* JSGenericTypedArrayViewPrototypeFunctions.h in Headers */ = {isa = PBXBuildFile; fileRef = 53917E7A1B7906E4000EBD33 /* JSGenericTypedArrayViewPrototypeFunctions.h */; };

Modified: trunk/Source/WebKit2/ChangeLog (213691 => 213692)


--- trunk/Source/WebKit2/ChangeLog	2017-03-10 00:53:48 UTC (rev 213691)
+++ trunk/Source/WebKit2/ChangeLog	2017-03-10 00:57:06 UTC (rev 213692)
@@ -1,3 +1,16 @@
+2017-03-09  Keith Miller  <[email protected]>
+
+        WebAssembly: Enable fast memory for WK2
+        https://bugs.webkit.org/show_bug.cgi?id=169437
+
+        Reviewed by Tim Horton.
+
+        I forgot to do this when I enabled implemented fast memory
+        for wasm.
+
+        * WebProcess/WebProcess.cpp:
+        (WebKit::WebProcess::initializeWebProcess):
+
 <<<<<<< .mine
 2017-03-09  Michael Saboff  <[email protected]>
 

Modified: trunk/Source/WebKit2/WebProcess/WebProcess.cpp (213691 => 213692)


--- trunk/Source/WebKit2/WebProcess/WebProcess.cpp	2017-03-10 00:53:48 UTC (rev 213691)
+++ trunk/Source/WebKit2/WebProcess/WebProcess.cpp	2017-03-10 00:57:06 UTC (rev 213692)
@@ -67,6 +67,7 @@
 #include "WebsiteDataType.h"
 #include <_javascript_Core/JSLock.h>
 #include <_javascript_Core/MemoryStatistics.h>
+#include <_javascript_Core/WasmFaultSignalHandler.h>
 #include <WebCore/AXObjectCache.h>
 #include <WebCore/ApplicationCacheStorage.h>
 #include <WebCore/AuthenticationChallenge.h>
@@ -394,6 +395,10 @@
 #if ENABLE(GAMEPAD)
     GamepadProvider::singleton().setSharedProvider(WebGamepadProvider::singleton());
 #endif
+
+#if ENABLE(WEBASSEMBLY)
+    JSC::Wasm::enableFastMemory();
+#endif
 }
 
 void WebProcess::ensureNetworkProcessConnection()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to