[JSC] Fix compilation on 32-bit platforms after r242071
authorguijemont@igalia.com <guijemont@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Feb 2019 10:28:42 +0000 (10:28 +0000)
committerguijemont@igalia.com <guijemont@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Feb 2019 10:28:42 +0000 (10:28 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195042

Reviewed by Carlos Garcia Campos.

* jit/AssemblyHelpers.cpp:
(JSC::AssemblyHelpers::emitLoadStructure):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242083 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jit/AssemblyHelpers.cpp

index c9dda48..3b32ba0 100644 (file)
@@ -1,5 +1,15 @@
 2019-02-26  Guillaume Emont  <guijemont@igalia.com>
 
+        [JSC] Fix compilation on 32-bit platforms after r242071
+        https://bugs.webkit.org/show_bug.cgi?id=195042
+
+        Reviewed by Carlos Garcia Campos.
+
+        * jit/AssemblyHelpers.cpp:
+        (JSC::AssemblyHelpers::emitLoadStructure):
+
+2019-02-26  Guillaume Emont  <guijemont@igalia.com>
+
         [JSC] Repeat string created from Array.prototype.join() take too much memory
         https://bugs.webkit.org/show_bug.cgi?id=193912
 
index 51bd547..0dc6cf9 100644 (file)
@@ -389,7 +389,6 @@ void AssemblyHelpers::emitLoadStructure(VM& vm, RegisterID source, RegisterID de
     xorPtr(scratch2, dest);
 #else // not USE(JSVALUE64)
     UNUSED_PARAM(scratch);
-    UNUSED_PARAM(scratch2);
     UNUSED_PARAM(vm);
     loadPtr(MacroAssembler::Address(source, JSCell::structureIDOffset()), dest);
 #endif // not USE(JSVALUE64)