Title: [237780] releases/WebKitGTK/webkit-2.22/Source/_javascript_Core
Revision
237780
Author
[email protected]
Date
2018-11-04 07:05:43 -0800 (Sun, 04 Nov 2018)

Log Message

[GTK] Cannot make debug builds of JSC using release 2.22.3
https://bugs.webkit.org/show_bug.cgi?id=191233

Unreviewed build fix.

* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitGetByVal):
Use context.asStructureForInContext() instead of explicit cast and
remove the unneeded assertion, which is already done in the helper
function.

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/ChangeLog (237779 => 237780)


--- releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/ChangeLog	2018-11-04 10:28:11 UTC (rev 237779)
+++ releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/ChangeLog	2018-11-04 15:05:43 UTC (rev 237780)
@@ -1,3 +1,16 @@
+2018-11-04  Adrian Perez de Castro  <[email protected]>
+
+        [GTK] Cannot make debug builds of JSC using release 2.22.3
+        https://bugs.webkit.org/show_bug.cgi?id=191233
+
+        Unreviewed build fix.
+
+        * bytecompiler/BytecodeGenerator.cpp:
+        (JSC::BytecodeGenerator::emitGetByVal):
+        Use context.asStructureForInContext() instead of explicit cast and
+        remove the unneeded assertion, which is already done in the helper
+        function.
+
 2018-10-26  Mark Lam  <[email protected]>
 
         Fix missing edge cases with JSGlobalObjects having a bad time.

Modified: releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/bytecompiler/BytecodeGenerator.cpp (237779 => 237780)


--- releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/bytecompiler/BytecodeGenerator.cpp	2018-11-04 10:28:11 UTC (rev 237779)
+++ releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/bytecompiler/BytecodeGenerator.cpp	2018-11-04 15:05:43 UTC (rev 237780)
@@ -2920,8 +2920,7 @@
             break;
         }
 
-        ASSERT(context.type() == ForInContext::StructureForInContextType);
-        StructureForInContext& structureContext = static_cast<StructureForInContext&>(context);
+        StructureForInContext& structureContext = context.asStructureForInContext();
         UnlinkedValueProfile profile = ""
         instructions().append(kill(dst));
         instructions().append(base->index());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to