2021-05-25 01:52:42 +02:00
|
|
|
This should fix a recent regression in JSC CLoop on BE/32bit.
|
|
|
|
|
srcpkgs/w*: convert patches to -Np1
* wine is kept at -Np0
```sh
git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" |
while read template; do
for p in ${template%/template}/patches/*; do
sed -i '
\,^[+-][+-][+-] /dev/null,b
/^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b
s,^[*][*][*] ,&a/,
/^--- /{
s,\(^--- \)\(./\)*,\1a/,
s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1,
s/[.-][Oo][Rr][Ii][Gg]$//
s/[.]patched[.]\([^.]\)/.\1/
h
}
/^+++ -/{
g
s/^--- a/+++ b/
b
}
s,\(^+++ \)\(./\)*,\1b/,
' "$p"
done
sed -i '/^patch_args=/d' $template
done
```
2021-06-19 05:03:21 +02:00
|
|
|
--- a/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
|
|
|
|
+++ b/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
|
2021-05-25 01:52:42 +02:00
|
|
|
@@ -425,7 +425,7 @@ end)
|
|
|
|
op(llint_get_host_call_return_value, macro ()
|
|
|
|
functionPrologue()
|
|
|
|
pushCalleeSaves()
|
|
|
|
- loadp Callee[cfr], t0
|
|
|
|
+ loadp Callee + PayloadOffset[cfr], t0
|
|
|
|
convertCalleeToVM(t0)
|
|
|
|
loadi VM::encodedHostCallReturnValue + TagOffset[t0], t1
|
|
|
|
loadi VM::encodedHostCallReturnValue + PayloadOffset[t0], t0
|