Skip to content

Commit 06e4289

Browse files
committed
Added iterators for dict operations to LLVMDict
1 parent 909415c commit 06e4289

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libasr/codegen/llvm_utils.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ namespace LFortran {
223223
LLVMUtils* llvm_utils;
224224
llvm::IRBuilder<>* builder;
225225
llvm::AllocaInst *pos_ptr, *is_key_matching_var;
226+
llvm::AllocaInst *idx_ptr;
226227
bool are_iterators_set;
227228

228229
std::map<std::pair<std::string, std::string>,
@@ -231,6 +232,8 @@ namespace LFortran {
231232

232233
public:
233234

235+
bool is_dict_present;
236+
234237
LLVMDict(llvm::LLVMContext& context_,
235238
LLVMUtils* llvm_utils,
236239
llvm::IRBuilder<>* builder);

0 commit comments

Comments
 (0)