Blame cloop-big-endians.patch

093b2b2
diff -up webkitgtk-2.14.7/Source/JavaScriptCore/bytecode/CodeBlock.cpp.b132333 webkitgtk-2.14.7/Source/JavaScriptCore/bytecode/CodeBlock.cpp
093b2b2
--- webkitgtk-2.14.7/Source/JavaScriptCore/bytecode/CodeBlock.cpp.b132333	2017-02-07 09:05:07.000000000 +0100
093b2b2
+++ webkitgtk-2.14.7/Source/JavaScriptCore/bytecode/CodeBlock.cpp	2017-06-16 10:34:57.859748036 +0200
093b2b2
@@ -2186,7 +2186,12 @@ void CodeBlock::finishCreation(VM& vm, S
093b2b2
                 instructions[i + 5].u.watchpointSet = op.watchpointSet;
093b2b2
             else if (op.structure)
093b2b2
                 instructions[i + 5].u.structure.set(vm, this, op.structure);
093b2b2
-            instructions[i + 6].u.pointer = reinterpret_cast<void*>(op.operand);
093b2b2
+
093b2b2
+            if (op.type == ClosureVar || op.type == ClosureVarWithVarInjectionChecks || op.type == GlobalProperty || op.type == GlobalPropertyWithVarInjectionChecks || op.type == ModuleVar)
093b2b2
+                instructions[i + 6].u.operand = op.operand;
093b2b2
+            else
093b2b2
+                instructions[i + 6].u.pointer = reinterpret_cast<void*>(op.operand);
093b2b2
+
093b2b2
             break;
093b2b2
         }
093b2b2
 
093b2b2
@@ -2222,7 +2227,11 @@ void CodeBlock::finishCreation(VM& vm, S
093b2b2
                     op.watchpointSet->invalidate(vm, PutToScopeFireDetail(this, ident));
093b2b2
             } else if (op.structure)
093b2b2
                 instructions[i + 5].u.structure.set(vm, this, op.structure);
093b2b2
-            instructions[i + 6].u.pointer = reinterpret_cast<void*>(op.operand);
093b2b2
+
093b2b2
+            if (op.type == ClosureVar || op.type == ClosureVarWithVarInjectionChecks || op.type == GlobalProperty || op.type == GlobalPropertyWithVarInjectionChecks || op.type == ModuleVar)
093b2b2
+                instructions[i + 6].u.operand = op.operand;
093b2b2
+            else
093b2b2
+                instructions[i + 6].u.pointer = reinterpret_cast<void*>(op.operand);
093b2b2
 
093b2b2
             break;
093b2b2
         }