@@ -757,14 +757,6 @@ dummy_func(void) {
757757 value = PyJitRef_Borrow (sym_new_const (ctx , ptr ));
758758 }
759759
760- op (_POP_TOP_LOAD_CONST_INLINE , (ptr /4 , pop -- value )) {
761- value = sym_new_const (ctx , ptr );
762- }
763-
764- op (_POP_TOP_LOAD_CONST_INLINE_BORROW , (ptr /4 , pop -- value )) {
765- value = PyJitRef_Borrow (sym_new_const (ctx , ptr ));
766- }
767-
768760 op (_POP_CALL_LOAD_CONST_INLINE_BORROW , (ptr /4 , unused , unused -- value )) {
769761 value = PyJitRef_Borrow (sym_new_const (ctx , ptr ));
770762 }
@@ -845,7 +837,7 @@ dummy_func(void) {
845837 if (watched_mutations < _Py_MAX_ALLOWED_GLOBALS_MODIFICATIONS ) {
846838 PyDict_Watch (GLOBALS_WATCHER_ID , dict );
847839 _Py_BloomFilter_Add (dependencies , dict );
848- PyObject * res = convert_global_to_const (this_instr , dict , false, true);
840+ PyObject * res = convert_global_to_const (this_instr , dict , true);
849841 if (res == NULL ) {
850842 attr = sym_new_not_null (ctx );
851843 }
@@ -898,35 +890,31 @@ dummy_func(void) {
898890 PyTypeObject * type = (PyTypeObject * )sym_get_const (ctx , owner );
899891 PyObject * name = get_co_name (ctx , oparg >> 1 );
900892 attr = lookup_attr (ctx , dependencies , this_instr , type , name ,
901- _POP_TOP_LOAD_CONST_INLINE_BORROW ,
902- _POP_TOP_LOAD_CONST_INLINE );
893+ true);
903894 }
904895
905896 op (_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES , (descr /4 , owner -- attr )) {
906897 (void )descr ;
907898 PyTypeObject * type = sym_get_type (owner );
908899 PyObject * name = get_co_name (ctx , oparg >> 1 );
909900 attr = lookup_attr (ctx , dependencies , this_instr , type , name ,
910- _POP_TOP_LOAD_CONST_INLINE_BORROW ,
911- _POP_TOP_LOAD_CONST_INLINE );
901+ true);
912902 }
913903
914904 op (_LOAD_ATTR_NONDESCRIPTOR_NO_DICT , (descr /4 , owner -- attr )) {
915905 (void )descr ;
916906 PyTypeObject * type = sym_get_type (owner );
917907 PyObject * name = get_co_name (ctx , oparg >> 1 );
918908 attr = lookup_attr (ctx , dependencies , this_instr , type , name ,
919- _POP_TOP_LOAD_CONST_INLINE_BORROW ,
920- _POP_TOP_LOAD_CONST_INLINE );
909+ true);
921910 }
922911
923912 op (_LOAD_ATTR_METHOD_WITH_VALUES , (descr /4 , owner -- attr , self )) {
924913 (void )descr ;
925914 PyTypeObject * type = sym_get_type (owner );
926915 PyObject * name = get_co_name (ctx , oparg >> 1 );
927916 attr = lookup_attr (ctx , dependencies , this_instr , type , name ,
928- _INSERT_1_LOAD_CONST_INLINE_BORROW ,
929- _INSERT_1_LOAD_CONST_INLINE );
917+ false);
930918 self = owner ;
931919 }
932920
@@ -935,8 +923,7 @@ dummy_func(void) {
935923 PyTypeObject * type = sym_get_type (owner );
936924 PyObject * name = get_co_name (ctx , oparg >> 1 );
937925 attr = lookup_attr (ctx , dependencies , this_instr , type , name ,
938- _INSERT_1_LOAD_CONST_INLINE_BORROW ,
939- _INSERT_1_LOAD_CONST_INLINE );
926+ false);
940927 self = owner ;
941928 }
942929
@@ -945,8 +932,7 @@ dummy_func(void) {
945932 PyTypeObject * type = sym_get_type (owner );
946933 PyObject * name = get_co_name (ctx , oparg >> 1 );
947934 attr = lookup_attr (ctx , dependencies , this_instr , type , name ,
948- _INSERT_1_LOAD_CONST_INLINE_BORROW ,
949- _INSERT_1_LOAD_CONST_INLINE );
935+ false);
950936 self = owner ;
951937 }
952938
@@ -2010,7 +1996,7 @@ dummy_func(void) {
20101996 ctx -> builtins_watched = true;
20111997 }
20121998 if (ctx -> frame -> globals_checked_version != 0 && ctx -> frame -> globals_watched ) {
2013- cnst = convert_global_to_const (this_instr , builtins , false, false );
1999+ cnst = convert_global_to_const (this_instr , builtins , false);
20142000 }
20152001 }
20162002 if (cnst == NULL ) {
@@ -2049,7 +2035,7 @@ dummy_func(void) {
20492035 ctx -> frame -> globals_checked_version = version ;
20502036 }
20512037 if (ctx -> frame -> globals_checked_version == version ) {
2052- cnst = convert_global_to_const (this_instr , globals , false, false );
2038+ cnst = convert_global_to_const (this_instr , globals , false);
20532039 }
20542040 }
20552041 }
0 commit comments