Staging
v0.5.1
https://github.com/python/cpython
Revision 91234a16367b56ca03ee289f7c03a34d4cfec4c8 authored by Inada Naoki on 03 June 2019, 12:30:58 UTC, committed by GitHub on 03 June 2019, 12:30:58 UTC
This patch implements per opcode cache mechanism, and use it in
only LOAD_GLOBAL opcode.

Based on Yury's opcache3.patch in bpo-26219.
1 parent 29ec422
Raw File
Tip revision: 91234a16367b56ca03ee289f7c03a34d4cfec4c8 authored by Inada Naoki on 03 June 2019, 12:30:58 UTC
bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884)
Tip revision: 91234a1
pyfpe.h
#ifndef Py_PYFPE_H
#define Py_PYFPE_H

/* These macros used to do something when Python was built with --with-fpectl,
 * but support for that was dropped in 3.7. We continue to define them though,
 * to avoid breaking API users.
 */

#define PyFPE_START_PROTECT(err_string, leave_stmt)
#define PyFPE_END_PROTECT(v)

#endif /* !Py_PYFPE_H */
back to top