[pypy-commit] [Git][pypy/pypy][branch/py3.7] Disable a GC pointer to raw address conversion if the GC address space is split.
Manuel Jacob (@mjacob)
foss at heptapod.net
Fri Nov 12 18:01:14 EST 2021
Manuel Jacob pushed to branch branch/py3.7 at PyPy / pypy
Commits:
03a3007b by Manuel Jacob at 2021-11-12T23:41:42+01:00
Disable a GC pointer to raw address conversion if the GC address space is split.
Without the fix, translating with RevDB fails with the following error:
[translation:ERROR] Exception: cast between pointer types changes the address
space, but the 'split_gc_address_space' option is enabled:
func: (pypy.module._cffi_backend.ctypeptr:379)W_CTypePointer.process_str_from_offset_in_bytes
op: v265060 = cast_ptr_to_adr(lldata_0)
from: * GcStruct rpy_string { hash, chars }
to: Address
--HG--
branch : py3.7
- - - - -
1 changed file:
- pypy/module/_cffi_backend/ctypeptr.py
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/03a3007bdb991a74be06a40019425a9dbf03401c
--
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/03a3007bdb991a74be06a40019425a9dbf03401c
You're receiving this email because of your account on foss.heptapod.net.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20211112/6e72ad3e/attachment.html>
More information about the pypy-commit
mailing list