File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,11 @@ struct LLVMInstruction
9090 std::string functionName;
9191 std::vector<std::pair<Compiler::StaticType, LLVMRegister *>> args; // target type, register
9292 LLVMRegister *functionReturnReg = nullptr ;
93- bool functionTargetArg = false ; // whether to add target ptr to function parameters
94- bool functionCtxArg = false ; // whether to add execution context ptr to function parameters
95- Variable *workVariable = nullptr ; // for variables
96- List *workList = nullptr ; // for lists
93+ bool functionTargetArg = false ; // whether to add target ptr to function parameters
94+ bool functionCtxArg = false ; // whether to add execution context ptr to function parameters
95+ Variable *workVariable = nullptr ; // for variables
96+ List *workList = nullptr ; // for lists
97+ Compiler::StaticType writeTargetType = Compiler::StaticType::Unknown; // variable or list type (before write operation)
9798 BlockPrototype *procedurePrototype = nullptr ;
9899 size_t procedureArgIndex = 0 ;
99100 bool loopCondition = false ; // whether the instruction is part of a loop condition
You can’t perform that action at this time.
0 commit comments