Blame SOURCES/webkit-cloop_big_endians.patch

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