Changeset 3944 in CLRX


Ignore:
Timestamp:
Mar 27, 2018, 6:52:38 PM (6 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Asm: Small optimization in AsmScope? destructor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/Assembler.cpp

    r3943 r3944  
    656656        {
    657657            // next nested level
    658             if (entry.it->second != nullptr)
    659                 scopeStack.push({ entry.it->second, entry.it->second->scopeMap.begin() });
    660             entry.it->second = nullptr;
     658            scopeStack.push({ entry.it->second, entry.it->second->scopeMap.begin() });
    661659            ++entry.it;
    662660        }
Note: See TracChangeset for help on using the changeset viewer.