Title: [200399] trunk/Source/_javascript_Core
Revision
200399
Author
[email protected]
Date
2016-05-03 18:06:37 -0700 (Tue, 03 May 2016)

Log Message

Fix the ENABLE(WEBASSEMBLY) build
https://bugs.webkit.org/show_bug.cgi?id=157312

Patch by Xan Lopez <[email protected]> on 2016-05-03
Reviewed by Darin Adler.

* runtime/Executable.cpp:
(JSC::WebAssemblyExecutable::WebAssemblyExecutable):
* wasm/WASMFunctionCompiler.h:
(JSC::WASMFunctionCompiler::convertValueToDouble):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (200398 => 200399)


--- trunk/Source/_javascript_Core/ChangeLog	2016-05-04 01:06:02 UTC (rev 200398)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-05-04 01:06:37 UTC (rev 200399)
@@ -1,3 +1,15 @@
+2016-05-03  Xan Lopez  <[email protected]>
+
+        Fix the ENABLE(WEBASSEMBLY) build
+        https://bugs.webkit.org/show_bug.cgi?id=157312
+
+        Reviewed by Darin Adler.
+
+        * runtime/Executable.cpp:
+        (JSC::WebAssemblyExecutable::WebAssemblyExecutable):
+        * wasm/WASMFunctionCompiler.h:
+        (JSC::WASMFunctionCompiler::convertValueToDouble):
+
 2016-05-03  Joseph Pecoraro  <[email protected]>
 
         Web Inspector: Remove unused parameter of ScriptArguments::getFirstArgumentAsString

Modified: trunk/Source/_javascript_Core/runtime/Executable.cpp (200398 => 200399)


--- trunk/Source/_javascript_Core/runtime/Executable.cpp	2016-05-04 01:06:02 UTC (rev 200398)
+++ trunk/Source/_javascript_Core/runtime/Executable.cpp	2016-05-04 01:06:37 UTC (rev 200399)
@@ -734,7 +734,7 @@
 const ClassInfo WebAssemblyExecutable::s_info = { "WebAssemblyExecutable", &ExecutableBase::s_info, 0, CREATE_METHOD_TABLE(WebAssemblyExecutable) };
 
 WebAssemblyExecutable::WebAssemblyExecutable(VM& vm, const SourceCode& source, JSWASMModule* module, unsigned functionIndex)
-    : ExecutableBase(vm, vm.webAssemblyExecutableStructure.get(), NUM_PARAMETERS_NOT_COMPILED)
+    : ExecutableBase(vm, vm.webAssemblyExecutableStructure.get(), NUM_PARAMETERS_NOT_COMPILED, NoIntrinsic)
     , m_source(source)
     , m_module(vm, this, module)
     , m_functionIndex(functionIndex)

Modified: trunk/Source/_javascript_Core/wasm/WASMFunctionCompiler.h (200398 => 200399)


--- trunk/Source/_javascript_Core/wasm/WASMFunctionCompiler.h	2016-05-04 01:06:02 UTC (rev 200398)
+++ trunk/Source/_javascript_Core/wasm/WASMFunctionCompiler.h	2016-05-04 01:06:37 UTC (rev 200399)
@@ -1471,7 +1471,7 @@
         end.append(jump());
 
         checkJSNumber.link(this);
-        unboxDoubleWithoutAssertions(valueRegs.gpr(), dst);
+        unboxDoubleWithoutAssertions(valueRegs.gpr(), scratch, dst);
         end.link(this);
     }
 #else
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to