blueloveTH 2 лет назад
Родитель
Сommit
472c64323c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      include/pocketpy/codeobject.h

+ 1 - 1
include/pocketpy/codeobject.h

@@ -71,7 +71,7 @@ struct CodeObject {
     std::vector<int> iblocks;       // block index for each bytecode
     std::vector<int> iblocks;       // block index for each bytecode
     std::vector<LineInfo> lines;
     std::vector<LineInfo> lines;
     
     
-    small_vector<PyObject*, 8> consts;
+    List consts;
     small_vector<StrName, 16> varnames;      // local variables
     small_vector<StrName, 16> varnames;      // local variables
     NameDictInt varnames_inv;
     NameDictInt varnames_inv;
     small_vector<CodeBlock, 4> blocks;
     small_vector<CodeBlock, 4> blocks;