summaryrefslogtreecommitdiff
path: root/patches/patch-Source_JavaScriptCore_llint_LowLevelInterpreter32_64_asm
diff options
context:
space:
mode:
authorLandry Breuil <landry@rhaalovely.net>2014-03-07 12:30:57 +0100
committerLandry Breuil <landry@rhaalovely.net>2014-03-07 12:30:57 +0100
commit14842b32b65c6ff3f93427d5762041acf17c77f4 (patch)
treeead979553fcc09bd0c3052188fa0e0c3f313fa03 /patches/patch-Source_JavaScriptCore_llint_LowLevelInterpreter32_64_asm
Initial import of webkit 2.2.4 port
Diffstat (limited to 'patches/patch-Source_JavaScriptCore_llint_LowLevelInterpreter32_64_asm')
-rw-r--r--patches/patch-Source_JavaScriptCore_llint_LowLevelInterpreter32_64_asm37
1 files changed, 37 insertions, 0 deletions
diff --git a/patches/patch-Source_JavaScriptCore_llint_LowLevelInterpreter32_64_asm b/patches/patch-Source_JavaScriptCore_llint_LowLevelInterpreter32_64_asm
new file mode 100644
index 0000000..f8a4636
--- /dev/null
+++ b/patches/patch-Source_JavaScriptCore_llint_LowLevelInterpreter32_64_asm
@@ -0,0 +1,37 @@
+$OpenBSD: patch-Source_JavaScriptCore_llint_LowLevelInterpreter32_64_asm,v 1.2 2013/10/06 14:03:42 landry Exp $
+https://bugs.webkit.org/show_bug.cgi?id=103128
+https://bug-103128-attachments.webkit.org/attachment.cgi?id=202076
+last chunk: https://bug-103128-attachments.webkit.org/attachment.cgi?id=202651
+--- Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm.orig Fri Sep 27 10:49:22 2013
++++ Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm Sun Oct 6 14:49:14 2013
+@@ -1259,7 +1259,7 @@ _llint_op_get_by_pname:
+ loadp JSCell::m_structure[t2], t0
+ bpneq t0, JSPropertyNameIterator::m_cachedStructure[t3], .opGetByPnameSlow
+ loadi 24[PC], t0
+- loadi [cfr, t0, 8], t0
++ loadi PayloadOffset[cfr, t0, 8], t0
+ subi 1, t0
+ biaeq t0, JSPropertyNameIterator::m_numCacheableSlots[t3], .opGetByPnameSlow
+ bilt t0, JSPropertyNameIterator::m_cachedStructureInlineCapacity[t3], .opGetByPnameInlineProperty
+@@ -1679,7 +1679,7 @@ _llint_op_next_pname:
+ loadi 20[PC], t2
+ loadi PayloadOffset[cfr, t2, 8], t2
+ loadp JSPropertyNameIterator::m_jsStrings[t2], t3
+- loadi [t3, t0, 8], t3
++ loadi PayloadOffset[t3, t0, 8], t3
+ addi 1, t0
+ storei t0, PayloadOffset[cfr, t1, 8]
+ loadi 4[PC], t1
+@@ -1743,7 +1743,11 @@ macro getDeBruijnScope(deBruijinIndexOperand, scopeChe
+
+ loadp CodeBlock[cfr], t1
+ bineq CodeBlock::m_codeType[t1], FunctionCode, .loop
+- btbz CodeBlock::m_needsActivation[t1], .loop
++ if FOUR_BYTE_BOOL
++ btiz CodeBlock::m_needsActivation[t1], .loop
++ else
++ btbz CodeBlock::m_needsActivation[t1], .loop
++ end
+
+ loadi CodeBlock::m_activationRegister[t1], t1
+