Changeset 3951 in CLRX


Ignore:
Timestamp:
Mar 30, 2018, 4:39:15 PM (4 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmRegAlloc?: Small fix in retRecur stuff.

File:
1 edited

Legend:

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

    r3950 r3951  
    18971897            //joinRoutineData(rdata, routineMap.find(
    18981898            //                cblock.nexts[entry.nextIndex].block)->second);
    1899             if (returnFromRecur && recurBlocks.find(nextRBlock) == recurBlocks.end())
    1900                 joinRoutineData(retRecurRdata, *findRoutine(routineMap,
    1901                                 routineMapRecur, nextRBlock));
    1902             joinRoutineData(rdata, *findRoutine(routineMap, routineMapRecur, nextRBlock));
     1899            if (recurBlocks.find(nextRBlock) == recurBlocks.end())
     1900            {
     1901                if (returnFromRecur)
     1902                    joinRoutineData(retRecurRdata, *findRoutine(routineMap,
     1903                                    routineMapRecur, nextRBlock));
     1904                joinRoutineData(rdata,
     1905                        *findRoutine(routineMap, routineMapRecur, nextRBlock));
     1906            }
    19031907        }
    19041908       
Note: See TracChangeset for help on using the changeset viewer.