@@ -749,14 +749,6 @@ dummy_func(void) {
749749 value = PyJitRef_Borrow (sym_new_const (ctx , ptr ));
750750 }
751751
752- op (_POP_TOP_LOAD_CONST_INLINE , (ptr /4 , pop -- value )) {
753- value = sym_new_const (ctx , ptr );
754- }
755-
756- op (_POP_TOP_LOAD_CONST_INLINE_BORROW , (ptr /4 , pop -- value )) {
757- value = PyJitRef_Borrow (sym_new_const (ctx , ptr ));
758- }
759-
760752 op (_POP_CALL_LOAD_CONST_INLINE_BORROW , (ptr /4 , unused , unused -- value )) {
761753 value = PyJitRef_Borrow (sym_new_const (ctx , ptr ));
762754 }
@@ -837,7 +829,7 @@ dummy_func(void) {
837829 if (watched_mutations < _Py_MAX_ALLOWED_GLOBALS_MODIFICATIONS ) {
838830 PyDict_Watch (GLOBALS_WATCHER_ID , dict );
839831 _Py_BloomFilter_Add (dependencies , dict );
840- PyObject * res = convert_global_to_const (this_instr , dict , false, true);
832+ PyObject * res = convert_global_to_const (this_instr , dict , true);
841833 if (res == NULL ) {
842834 attr = sym_new_not_null (ctx );
843835 }
@@ -890,35 +882,31 @@ dummy_func(void) {
890882 PyTypeObject * type = (PyTypeObject * )sym_get_const (ctx , owner );
891883 PyObject * name = get_co_name (ctx , oparg >> 1 );
892884 attr = lookup_attr (ctx , dependencies , this_instr , type , name ,
893- _POP_TOP_LOAD_CONST_INLINE_BORROW ,
894- _POP_TOP_LOAD_CONST_INLINE );
885+ true);
895886 }
896887
897888 op (_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES , (descr /4 , owner -- attr )) {
898889 (void )descr ;
899890 PyTypeObject * type = sym_get_type (owner );
900891 PyObject * name = get_co_name (ctx , oparg >> 1 );
901892 attr = lookup_attr (ctx , dependencies , this_instr , type , name ,
902- _POP_TOP_LOAD_CONST_INLINE_BORROW ,
903- _POP_TOP_LOAD_CONST_INLINE );
893+ true);
904894 }
905895
906896 op (_LOAD_ATTR_NONDESCRIPTOR_NO_DICT , (descr /4 , owner -- attr )) {
907897 (void )descr ;
908898 PyTypeObject * type = sym_get_type (owner );
909899 PyObject * name = get_co_name (ctx , oparg >> 1 );
910900 attr = lookup_attr (ctx , dependencies , this_instr , type , name ,
911- _POP_TOP_LOAD_CONST_INLINE_BORROW ,
912- _POP_TOP_LOAD_CONST_INLINE );
901+ true);
913902 }
914903
915904 op (_LOAD_ATTR_METHOD_WITH_VALUES , (descr /4 , owner -- attr , self )) {
916905 (void )descr ;
917906 PyTypeObject * type = sym_get_type (owner );
918907 PyObject * name = get_co_name (ctx , oparg >> 1 );
919908 attr = lookup_attr (ctx , dependencies , this_instr , type , name ,
920- _LOAD_CONST_UNDER_INLINE_BORROW ,
921- _LOAD_CONST_UNDER_INLINE );
909+ false);
922910 self = owner ;
923911 }
924912
@@ -927,8 +915,7 @@ dummy_func(void) {
927915 PyTypeObject * type = sym_get_type (owner );
928916 PyObject * name = get_co_name (ctx , oparg >> 1 );
929917 attr = lookup_attr (ctx , dependencies , this_instr , type , name ,
930- _LOAD_CONST_UNDER_INLINE_BORROW ,
931- _LOAD_CONST_UNDER_INLINE );
918+ false);
932919 self = owner ;
933920 }
934921
@@ -937,8 +924,7 @@ dummy_func(void) {
937924 PyTypeObject * type = sym_get_type (owner );
938925 PyObject * name = get_co_name (ctx , oparg >> 1 );
939926 attr = lookup_attr (ctx , dependencies , this_instr , type , name ,
940- _LOAD_CONST_UNDER_INLINE_BORROW ,
941- _LOAD_CONST_UNDER_INLINE );
927+ false);
942928 self = owner ;
943929 }
944930
@@ -2002,7 +1988,7 @@ dummy_func(void) {
20021988 ctx -> builtins_watched = true;
20031989 }
20041990 if (ctx -> frame -> globals_checked_version != 0 && ctx -> frame -> globals_watched ) {
2005- cnst = convert_global_to_const (this_instr , builtins , false, false );
1991+ cnst = convert_global_to_const (this_instr , builtins , false);
20061992 }
20071993 }
20081994 if (cnst == NULL ) {
@@ -2041,7 +2027,7 @@ dummy_func(void) {
20412027 ctx -> frame -> globals_checked_version = version ;
20422028 }
20432029 if (ctx -> frame -> globals_checked_version == version ) {
2044- cnst = convert_global_to_const (this_instr , globals , false, false );
2030+ cnst = convert_global_to_const (this_instr , globals , false);
20452031 }
20462032 }
20472033 }
0 commit comments