Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add get_builder0 macro to declare auxiliary variables at entry point of functions #2205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/libasr/codegen/asr_to_llvm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,6 @@ class ASRToLLVMVisitor : public ASR::BaseVisitor<ASRToLLVMVisitor>

template <typename Cond, typename Body>
void create_loop(char *name, Cond condition, Body loop_body) {
dict_api_lp->set_iterators();
dict_api_sc->set_iterators();

std::string loop_name;
if (name) {
Expand Down Expand Up @@ -286,8 +284,6 @@ class ASRToLLVMVisitor : public ASR::BaseVisitor<ASRToLLVMVisitor>
loop_or_block_end.pop_back();
loop_or_block_end_names.pop_back();
start_new_block(loopend);
dict_api_lp->reset_iterators();
dict_api_sc->reset_iterators();
}

void get_type_debug_info(ASR::ttype_t* t, std::string &type_name,
Expand Down
Loading