blueloveTH il y a 2 ans
Parent
commit
a51eb5a641
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 0 0
      include/pocketpy/_generated.h
  2. 2 2
      include/pocketpy/codeobject.h

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
include/pocketpy/_generated.h


+ 2 - 2
include/pocketpy/codeobject.h

@@ -71,9 +71,9 @@ struct CodeObject {
     std::vector<int> iblocks;       // block index for each bytecode
     std::vector<LineInfo> lines;
     
-    small_vector_no_copy_and_move<PyObject*, 8> consts;
+    small_vector_no_copy_and_move<PyObject*, 8> consts;         // constants
+    small_vector_no_copy_and_move<StrName, 8> varnames;         // local variables
 
-    pod_vector<StrName> varnames;      // local variables
     NameDictInt varnames_inv;
     std::vector<CodeBlock> blocks;
     NameDictInt labels;

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff