Changeset 6276


Ignore:
Timestamp:
Jan 6, 2019, 8:33:36 PM (3 months ago)
Author:
cameron
Message:

Eliminate pessimizing moves

Location:
icGREP/icgrep-devel/icgrep
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/PropertyObjects.cpp

    r6228 r6276  
    277277    }
    278278    if (mN.get() == nullptr) {
    279         mN = llvm::make_unique<UnicodeSet>(std::move(~mY));
     279        mN = llvm::make_unique<UnicodeSet>(~mY);
    280280    }
    281281    return *mN;
  • icGREP/icgrep-devel/icgrep/re/Unicode/decomposition.cpp

    r6228 r6276  
    107107canonicalMapped(decompTypeObj->GetCodepointSet(DT_ns::Can)),
    108108cc0Set(cccObj->GetCodepointSet(CCC_ns::NR)),
    109 selfNFKD(std::move(decompMappingObj->GetReflexiveSet())),
    110 selfCaseFold(std::move(caseFoldObj->GetReflexiveSet())),
     109selfNFKD(decompMappingObj->GetReflexiveSet()),
     110selfCaseFold(caseFoldObj->GetReflexiveSet()),
    111111HangulPrecomposed(Hangul_SBase, Hangul_SBase + Hangul_SCount - 1) {
    112112
  • icGREP/icgrep-devel/icgrep/re/Unicode/equivalence.cpp

    r6228 r6276  
    6565const unsigned Hangul_TCount = 28;
    6666const unsigned Hangul_NCount = 588;
    67 const unsigned Hangul_SCount = 11172;
     67//const unsigned Hangul_SCount = 11172;
    6868
    6969
     
    8585        sLCobj(cast<StringPropertyObject>(property_object_table[slc])),
    8686        ccc0set(cccObj->GetCodepointSet(CCC_ns::NR)),
    87         selfUC(std::move(sUCobj->GetReflexiveSet())),
    88         selfLC(std::move(sLCobj->GetReflexiveSet()))
     87        selfUC(sUCobj->GetReflexiveSet()),
     88        selfLC(sLCobj->GetReflexiveSet())
    8989        {}
    9090protected:
Note: See TracChangeset for help on using the changeset viewer.