Skip to content

Commit

Permalink
skipping function verification of Interactive ABI
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipul-Cariappa committed May 16, 2024
1 parent 5cf0594 commit ccaa870
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libasr/asr_verify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,11 @@ class VerifyVisitor : public BaseWalkVisitor<VerifyVisitor>
}

void visit_Function(const Function_t &x) {
ASR::FunctionType_t* v_func_type = ASR::down_cast<ASR::FunctionType_t>(x.m_function_signature);
if (v_func_type->m_abi == abiType::Interactive) {
// This function would have been verified in the previous interactive pass
return;
}
std::vector<std::string> function_dependencies_copy = function_dependencies;
function_dependencies.clear();
function_dependencies.reserve(x.n_dependencies);
Expand Down

0 comments on commit ccaa870

Please sign in to comment.