mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-23 13:00:17 +00:00
change some parameters
This commit is contained in:
parent
15a11d0c02
commit
443c87f507
@ -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*, 6> consts;
|
small_vector<PyObject*, 8> 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;
|
||||||
|
@ -51,7 +51,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
typedef unique_ptr_128<Expr> Expr_;
|
typedef unique_ptr_128<Expr> Expr_;
|
||||||
typedef small_vector<Expr_, 6> Expr_vector;
|
typedef small_vector<Expr_, 4> Expr_vector;
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
struct TriviallyRelocatable<Expr_>{
|
struct TriviallyRelocatable<Expr_>{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user