Skip to content

Commit

Permalink
Add CI_CO_SUPPRESS_JIT flag
Browse files Browse the repository at this point in the history
Summary: We still need to apply this in the Python compiler, but at least it exists to get things moving for now.

Reviewed By: DinoV

Differential Revision: D60866627

fbshipit-source-id: 64a06d8f89e31f8e3fa09c4efe0f48b324ac7aae
  • Loading branch information
jbower-fb authored and facebook-github-bot committed Aug 7, 2024
1 parent c175b46 commit 527c0a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Include/cpython/code.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ struct PyCodeObject _PyCode_DEF(1);
#define CO_FUTURE_GENERATOR_STOP 0x800000
#define CO_FUTURE_ANNOTATIONS 0x1000000

// See also extra-py-flags.h in CinderX. This still needs to be defined here as
// we will (T198117958) use this flag in the Python compiler.
#define CI_CO_SUPPRESS_JIT 0x40000000

/* This should be defined if a future statement modifies the syntax.
For example, when a keyword is added.
*/
Expand Down

0 comments on commit 527c0a3

Please sign in to comment.