Skip to content

Commit e2c0555

Browse files
itamarometa-codesync[bot]
authored andcommitted
Include import APIs in JIT stencils
Summary: Meta Python's lazy-import bytecodes call private import helpers while generating JIT stencils. Include their declarations in the stencil template, matching the 3.15 and main branches. Reviewed By: ambv Differential Revision: D122684784 fbshipit-source-id: 1b40a962ba36765c5fea12c8c2e12c57d2c803e2
1 parent 4d16c5b commit e2c0555

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎Tools/jit/template.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include "pycore_frame.h"
1313
#include "pycore_function.h"
1414
#include "pycore_genobject.h"
15+
#include "pycore_import.h"
1516
#include "pycore_interpframe.h"
1617
#include "pycore_interpolation.h"
1718
#include "pycore_intrinsics.h"

0 commit comments

Comments
 (0)