Changeset 4121 in CLRX


Ignore:
Timestamp:
May 8, 2018, 10:22:34 PM (7 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmRegAlloc?: MSVC error fix.

File:
1 edited

Legend:

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

    r4119 r4121  
    11291129                    routineMap.find(next.block)->second.lastAccessMap;
    11301130            for (const auto& sentry: regVarMap)
    1131                 stackVarMap[sentry.first] = LastVRegStackPos{ pfPos, true };
     1131            {
     1132                // MSVC error fix
     1133                auto& v = stackVarMap[sentry.first];
     1134                v = LastVRegStackPos{ pfPos, true };
     1135            }
    11321136        }
    11331137}
     
    11821186        const CodeBlock& cblock = codeBlocks[entry.blockIndex];
    11831187        for (const auto& sentry: cblock.ssaInfoMap)
    1184             stackVarMap[sentry.first] = { size_t(pfit - prevFlowStack.begin()), false };
     1188        {
     1189            // MSVC error fix
     1190            auto& v = stackVarMap[sentry.first];
     1191            v = { size_t(pfit - prevFlowStack.begin()), false };
     1192        }
    11851193       
    11861194        if (entry.nextIndex > cblock.nexts.size())
Note: See TracChangeset for help on using the changeset viewer.