Changeset 4124


Ignore:
Timestamp:
Sep 2, 2014, 4:40:04 AM (5 years ago)
Author:
cameron
Message:

If statement logic for DeclareCallFunctions?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/llvm_gen.cpp

    r4123 r4124  
    648648        DeclareCallFunctions_PabloE(an->getExpr());
    649649    }
    650     if (While* whl = dynamic_cast<While*>(stmt))
     650    else if (If* ifstmt = dynamic_cast<If*>(stmt))
     651    {
     652        DeclareCallFunctions_PabloE(ifstmt->getExpr());
     653        DeclareCallFunctions(ifstmt->getPSList());
     654    }
     655    else if (While* whl = dynamic_cast<While*>(stmt))
    651656    {
    652657        DeclareCallFunctions_PabloE(whl->getExpr());
Note: See TracChangeset for help on using the changeset viewer.