@@ -940,12 +940,14 @@ dummy_func(void) {
940940 res = sym_new_const (ctx , Py_True );
941941 }
942942
943- op (_BUILD_STRING , (values [oparg ] -- str )) {
944- str = sym_new_type (ctx , & PyUnicode_Type );
943+
944+
945+ op (_BUILD_LIST , (values [oparg ] -- list )) {
946+ list = sym_new_type (ctx , & PyList_Type );
945947 }
946948
947- op (_BUILD_SET , (values [oparg ] -- set )) {
948- set = sym_new_type (ctx , & PySet_Type );
949+ op (_BUILD_MAP , (values [oparg * 2 ] -- map )) {
950+ map = sym_new_type (ctx , & PyDict_Type );
949951 }
950952
951953 op (_BUILD_SLICE , (values [oparg ] -- slice )) {
@@ -956,12 +958,12 @@ dummy_func(void) {
956958 tup = sym_new_tuple (ctx , oparg , values );
957959 }
958960
959- op (_BUILD_LIST , (values [oparg ] -- list )) {
960- list = sym_new_type (ctx , & PyList_Type );
961+ op (_BUILD_STRING , (values [oparg ] -- str )) {
962+ str = sym_new_type (ctx , & PyUnicode_Type );
961963 }
962964
963- op (_BUILD_MAP , (values [oparg * 2 ] -- map )) {
964- map = sym_new_type (ctx , & PyDict_Type );
965+ op (_BUILD_SET , (values [oparg ] -- set )) {
966+ set = sym_new_type (ctx , & PySet_Type );
965967 }
966968
967969 op (_UNPACK_SEQUENCE_TWO_TUPLE , (seq -- val1 , val0 )) {
0 commit comments