Ignore:
Timestamp:
Jan 25, 2015, 4:11:26 PM (5 years ago)
Author:
nmedfort
Message:

Temporary check in.

File:
1 edited

Legend:

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

    r4434 r4443  
    113113            // as any having the same type and operands. If so, we can replace its users with the prior statement.
    114114            // and erase this statement from the AST
    115             const auto f = encountered.insert(stmt);
     115            const auto f = encountered.findOrAdd(stmt);
    116116            if (!std::get<1>(f)) {
    117117                stmt = stmt->replaceWith(std::get<0>(f));
Note: See TracChangeset for help on using the changeset viewer.