Ignore:
Timestamp:
Nov 12, 2015, 4:26:25 PM (4 years ago)
Author:
nmedfort
Message:

Work on bug fixes for multiplexing pass.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/ps_if.cpp

    r4860 r4868  
    4646}
    4747
    48 void If::removeDefined(Assign * def) {
     48If::DefinedVars::iterator If::removeDefined(Assign * def) {
    4949    auto f = std::find(mDefined.begin(), mDefined.end(), def);
    5050    if (LLVM_LIKELY(f != mDefined.end())) {
    51         mDefined.erase(f);
    5251        def->removeUser(this);
    5352        this->removeUser(def);
     53        return mDefined.erase(f);
    5454    }
     55    return mDefined.end();
    5556}
    5657
Note: See TracChangeset for help on using the changeset viewer.